diff options
Diffstat (limited to 'arch/tde-core/tde-dbus-tqt/PKGBUILD')
-rw-r--r-- | arch/tde-core/tde-dbus-tqt/PKGBUILD | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/arch/tde-core/tde-dbus-tqt/PKGBUILD b/arch/tde-core/tde-dbus-tqt/PKGBUILD index 7e1c73d32..8c96c3944 100644 --- a/arch/tde-core/tde-dbus-tqt/PKGBUILD +++ b/arch/tde-core/tde-dbus-tqt/PKGBUILD @@ -3,41 +3,44 @@ # Contributor: Calvin Morrison <mutantturkey@gmail.com> # Contributor: David C. Rankin <drankinatty at gmail dot com> -pkgname=tde-dbus-tqt -pkgver=14.0.10 +_mod=dbus-tqt +_cat=dependencies/ +_kdemod="${_mod/tde/kde}" + +pkgname="tde-${_mod}" +pkgver=14.0.11 pkgrel=1 arch=('i686' 'x86_64') -url='https://scm.trinitydesktop.org/scm/git/dbus-tqt' +url="https://scm.trinitydesktop.org/scm/git/${_mod}" license=('GPL') groups=('tde-core') pkgdesc="Trinity TQt DBus wrapper" depends=('tde-tqtinterface' 'dbus') -makedepends=('pkgconfig' 'cmake') -provides=('dbus-tqt') +makedepends=('tde-cmake-trinity') +provides=("${_mod}") options=('staticlibs' 'libtool' '!strip') -source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/dependencies/dbus-tqt-trinity-${pkgver}.tar.xz") -md5sums=('5a3577b3f43b3cfeb4701bb4a4e0a951') -install='trinity-dbus-tqt.install' +source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz") +md5sums=('fd23c1a0f57d7ed08f443b3e2a2f98d6') +install="trinity-${_mod}.install" [ -n "$TDEDIR" ] || TDEDIR=/opt/trinity build() { - cd $srcdir msg "Creating out-of-source build directory: ${srcdir}/build" - mkdir -p build - cd build + mkdir -p ${srcdir}/build + cd ${srcdir}/build msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver}/ \ - -DCMAKE_INSTALL_PREFIX=$TDEDIR \ - -DWITH_GCC_VISIBILITY=ON + -GNinja \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR 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 } |