summaryrefslogtreecommitdiffstats
path: root/arch/PKGBUILD.template
diff options
context:
space:
mode:
Diffstat (limited to 'arch/PKGBUILD.template')
-rw-r--r--arch/PKGBUILD.template14
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/PKGBUILD.template b/arch/PKGBUILD.template
index 8b1d87d1c..3df27ff30 100644
--- a/arch/PKGBUILD.template
+++ b/arch/PKGBUILD.template
@@ -4,8 +4,9 @@
_mod=tdepowersave
_cat=applications/
_kdemod="${_mod/tde/kde}"
+
pkgname="tde-${_mod}"
-pkgver=14.0.10
+pkgver=14.0.11
pkgrel=1
pkgdesc="Trinity Desktop Enviroment $_cat$_mod"
arch=('i686' 'x86_64')
@@ -17,12 +18,12 @@ depends=(
'tde-tdelibs'
)
makedepends=(
+ 'tde-cmake-trinity'
'autoconf'
- 'cmake'
'pkgconfig'
)
optdepends=()
-confilicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
+conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
replaces=("trinity-${_mod}")
options=('staticlibs' 'libtool' '!strip')
install=
@@ -40,18 +41,19 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
+ -GNinja \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
-DBUILD_ALL=ON \
- -DWITH_GCC_VISIBILITY=ON
+ -DWITH_ALL_OPTIONS=ON
msg "Building - ${pkgname}..."
- make $NUMJOBS
+ ninja $NUMJOBS
}
package() {
msg "Packaging - ${pkgname}-${pkgver}"
cd "$srcdir/build"
- make -j1 DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -j1 install
}