diff options
Diffstat (limited to 'arch/tde-core/tde-libart-lgpl')
-rw-r--r-- | arch/tde-core/tde-libart-lgpl/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/arch/tde-core/tde-libart-lgpl/PKGBUILD b/arch/tde-core/tde-libart-lgpl/PKGBUILD index c6f03a951..6edf7368c 100644 --- a/arch/tde-core/tde-libart-lgpl/PKGBUILD +++ b/arch/tde-core/tde-libart-lgpl/PKGBUILD @@ -1,24 +1,28 @@ # Maintainer: Michael Manley <mmanley@nasutek.com> # Contributor: David C. Rankin <drankinatty at gmail dot com> -pkgname=tde-libart-lgpl -pkgver=14.0.10 +_mod=libart-lgpl +_cat=dependencies/ +_kdemod="${_mod/tde/kde}" + +pkgname="tde-${_mod}" +pkgver=14.0.11 pkgrel=1 pkgdesc="Trinity Desktop LGPL'd Component" arch=('i686' 'x86_64') -url="https://scm.trinitydesktop.org/scm/git/libart-lgpl" +url="https://scm.trinitydesktop.org/scm/git/${_mod}" license=('LGPL') groups=('tde-core') #depends=('') -makedepends=('pkgconfig' 'cmake') +makedepends=('tde-cmake-trinity') optdepends=() -provides=('libart-lgpl') +provides=("${_mod}") conflicts=() replaces=() options=('staticlibs' 'libtool' '!strip') install= -source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/dependencies/libart-lgpl-trinity-${pkgver}.tar.xz") -md5sums=('e3cae1bd69671c21b27d10bd9b29bb8c') +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz") +md5sums=('02e9f48e719c1a189638ddb1f932cea3') [ -n "$TDEDIR" ] || TDEDIR=/opt/trinity @@ -30,15 +34,16 @@ build() { msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver}/ \ + -GNinja \ -DCMAKE_INSTALL_PREFIX=$TDEDIR \ -DWITH_GCC_VISIBILITY=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 } |