summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD47
1 files changed, 20 insertions, 27 deletions
diff --git a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
index d2ca554d6..e7bc4e4cd 100644
--- a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
+++ b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
@@ -6,10 +6,10 @@ _cat=applications/themes/
_kdemod="${_mod/tde/kde}"
pkgname="tde-${_mod}"
-pkgver=14.0.12
+pkgver=14.0.13
pkgrel=1
pkgdesc="gtk3 tqt engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'aarch64' 'armv7h')
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
license=('GPL')
groups=('tde-extra')
@@ -20,39 +20,32 @@ conflicts=("trinity-${_kdemod}" "kdemod3-${_kdemod}")
replaces=("trinity-${_mod}")
options=('staticlibs' 'libtool' '!strip')
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
-md5sums=('a3078835150c1c83dfe733fb0d730ad1')
+md5sums=('33eced7adfe5b32efd5758307d4f7c4e')
install=''
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
build() {
- ## Generate config files and update with autoreconf
- cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
-
- msg "Copying system libtool files...."
- cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
- cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh
-
- msg "Running make -f admin/Makefile.common ...."
- make -f admin/Makefile.common
-
- ## configure
- msg "Configuring - ${pkgname}..."
- ./configure \
- --prefix=${TDEDIR} \
- --with-qt-dir=${QTDIR} \
- --with-qt-includes=${QTDIR}/include \
- --with-qt-libraries=${QTDIR}/lib \
- --with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
- --with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
-
- msg "Building - ${pkgname}..."
- make $NUMJOBS
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p ${srcdir}/build
+ cd ${srcdir}/build
+
+ msg "Starting cmake..."
+
+ cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver} \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
+ -DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
+ -DBUILD_ALL=ON \
+ -DWITH_ALL_OPTIONS=ON
+
+ msg "Building - ${pkgname#*-}..."
+ ninja $NUMJOBS
}
package() {
msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
- make -j1 DESTDIR="${pkgdir}" install
+ cd ${srcdir}/build
+ DESTDIR="${pkgdir}" ninja -j1 install
}