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/PKGBUILD25
1 files changed, 17 insertions, 8 deletions
diff --git a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
index 075ff99a5..17969464b 100644
--- a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
+++ b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
@@ -2,11 +2,11 @@
# Contributor: David C. Rankin <drankinatty at gmail dot com>
pkgname=tde-gtk3-tqt-engine
-pkgver=14.0.5
+pkgver=14.0.10
pkgrel=1
pkgdesc="gtk3 tqt engine"
arch=('i686' 'x86_64')
-url='http://scm.trinitydesktop.org/scm/git/applications/gtk3-tqt-engine'
+url='https://scm.trinitydesktop.org/scm/git/applications/gtk3-tqt-engine'
license=('GPL')
groups=('tde-extra')
depends=('tde-tdebase' 'gtk3')
@@ -15,13 +15,17 @@ makedepends=('pkgconfig' 'cmake')
#conflicts=('gtk3-tqt-engine')
#replaces=('gtk3-tqt-engine')
options=('staticlibs' 'libtool' '!strip')
-source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/gtk3-tqt-engine-R${pkgver}.tar.bz2")
-md5sums=('76b078e7afcd6a8e683efa924fcfad2e')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/gtk3-tqt-engine-trinity-${pkgver}.tar.xz")
+md5sums=('1f94fd009a3c062e042f914c21d49984')
# install=''
+[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
+[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
+[ -n "$TQTDIR" ] || TQTDIR=${QTDIR}
+
build() {
## Generate config files and update with autoreconf
- cd ${srcdir}/applications/${pkgname#*-}
+ cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
@@ -33,7 +37,13 @@ build() {
## configure
msg "Configuring - ${pkgname}..."
- ./configure --prefix=${TDEDIR}
+ ./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" \
### PATCH: This allows the package to compile due to some odd reason its not finding tqt-mt, Remove LD_LIBRARY_PATH
### if fixed on future versions
@@ -42,7 +52,6 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/applications/${pkgname#*-}
-
+ cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
make -j1 DESTDIR="${pkgdir}" install
}