summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-tdepowersave/PKGBUILD
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-10-27 22:43:21 +0200
committerSlávek Banko <[email protected]>2021-10-29 13:16:09 +0200
commit1838e1a41f12414ad989d5f1c712ef0c62df9bf1 (patch)
tree45622c4f929f769c14ec8640fe61066d8e365f6c /arch/tde-extra/tde-tdepowersave/PKGBUILD
parentcf9e2a0eeadb7ba2804ec3e8ddab059e32afe9cc (diff)
downloadtde-packaging-1838e1a41f12414ad989d5f1c712ef0c62df9bf1.tar.gz
tde-packaging-1838e1a41f12414ad989d5f1c712ef0c62df9bf1.zip
ArchLinux: Update to R14.0.11
+ Add standalone package tde-cmake-trinity + Switch CMake builds to use Ninja + Switch some packages to CMake + Add tde-tqca and tde-akode + Add tde-i18n packages Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'arch/tde-extra/tde-tdepowersave/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-tdepowersave/PKGBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/arch/tde-extra/tde-tdepowersave/PKGBUILD b/arch/tde-extra/tde-tdepowersave/PKGBUILD
index a9c5d20c5..968037a4b 100644
--- a/arch/tde-extra/tde-tdepowersave/PKGBUILD
+++ b/arch/tde-extra/tde-tdepowersave/PKGBUILD
@@ -2,34 +2,32 @@
# Contributor: David C. Rankin <drankinatty at gmail dot com>
_mod=tdepowersave
-_cat=applications/
+_cat=applications/system/
_kdemod="${_mod/tde/kde}"
-pkgname="tde-$_mod"
-pkgver=14.0.10
+
+pkgname="tde-${_mod/tde-}"
+pkgver=14.0.11
pkgrel=1
-pkgdesc="Trinity Desktop Enviroment $_cat$_mod"
+pkgdesc="Trinity Desktop Enviroment - ${_mod}"
arch=('i686' 'x86_64')
-url="https://scm.trinitydesktop.org/scm/git/$_mod"
+url="https://scm.trinitydesktop.org/scm/git/${_mod}"
license=('GPL')
-#provides=("$_mod")
+provides=("${_mod}")
groups=('tde-extra')
depends=(
'tde-tdelibs'
'tde-dbus-1-tqt'
'libxss'
)
-makedepends=(
- 'cmake'
- 'pkgconfig'
-)
+makedepends=('tde-cmake-trinity')
optdepends=()
-confilicts=("trinity-$_kdemod" "kdemod3-$_kdemod")
-#replaces=("trinity-$_mod")
+conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
+replaces=("trinity-${_mod}")
options=('staticlibs' 'libtool' '!strip')
install=
-source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R$pkgver/main/$_cat$_mod-trinity-$pkgver.tar.xz")
-md5sums=('64daecf2c9061f3797b2cab8f0ad347b')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
+md5sums=('68686e75e26795c31d051cf84e0fd06a')
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
@@ -42,17 +40,18 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
+ -GNinja \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
-DBUILD_ALL=ON \
-DWITH_GCC_VISIBILITY=ON
msg "Building - ${pkgname#*-}..."
- make VERBOSE=1 $NUMJOBS
+ ninja $NUMJOBS
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd "$srcdir/build"
- make -j1 DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -j1 install
}