summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-tdepowersave/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-extra/tde-tdepowersave/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-tdepowersave/PKGBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/arch/tde-extra/tde-tdepowersave/PKGBUILD b/arch/tde-extra/tde-tdepowersave/PKGBUILD
index 65f5a99f8..f89a988f0 100644
--- a/arch/tde-extra/tde-tdepowersave/PKGBUILD
+++ b/arch/tde-extra/tde-tdepowersave/PKGBUILD
@@ -5,11 +5,11 @@ _mod=tdepowersave
_cat=applications/
_kdemod="${_mod/tde/kde}"
pkgname="tde-$_mod"
-pkgver=14.0.5
+pkgver=14.0.10
pkgrel=1
pkgdesc="Trinity Desktop Enviroment $_cat$_mod"
arch=('i686' 'x86_64')
-url="http://scm.trinitydesktop.org/scm/git/$_mod"
+url="https://scm.trinitydesktop.org/scm/git/$_mod"
license=('GPL')
#provides=("$_mod")
groups=('tde-extra')
@@ -18,7 +18,6 @@ depends=(
'tde-dbus-1-tqt'
)
makedepends=(
- 'autoconf'
'cmake'
'pkgconfig'
)
@@ -28,27 +27,26 @@ confilicts=("trinity-$_kdemod" "kdemod3-$_kdemod")
options=('staticlibs' 'libtool' '!strip')
install=
-source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/$_cat$_mod-R$pkgver.tar.bz2")
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/main/$_cat$_mod-trinity-$pkgver.tar.xz")
+md5sums=('64daecf2c9061f3797b2cab8f0ad347b')
-build() {
- cd "${srcdir}/${_cat}${_mod}"
-
- msg "Patch sources"
- sed -i 's/^int kdemain/KDE_EXPORT \0/' src/main.cpp
+[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
+build() {
msg "Creating out-of-source build directory: ${srcdir}/build"
- mkdir -p "$srcdir/build"
- cd "$srcdir/build"
+ mkdir -p "${srcdir}/build"
+ cd "${srcdir}/build"
- msg "Starting cmake..."
+ export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
- export LIBRARY_PATH="$LIBRARY_PATH:/opt/trinity/lib/"
- cmake ${srcdir}/${_cat}${_mod} \
+ msg "Starting cmake..."
+ cmake ${srcdir}/${_mod}-trinity-${pkgver} \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
-DBUILD_ALL=ON \
-DWITH_GCC_VISIBILITY=ON
+ msg "Building - ${pkgname#*-}..."
make VERBOSE=1 $NUMJOBS
}
@@ -57,4 +55,3 @@ package() {
cd "$srcdir/build"
make -j1 DESTDIR="$pkgdir" install
}
-md5sums=('5006a20e844e3d8dc2ba8dbc41487990')