diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-20 17:08:32 +0200 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2021-09-29 06:38:40 +0000 |
commit | 018f946ee70600993c60a74046f417ca05bdb41b (patch) | |
tree | 37829ad4f8af4005172148ee78ab38b67328cecb /arch/tde-core/tde-tqtinterface/PKGBUILD | |
parent | 2bcda9ee7da7582ee0e550a71b9f865cac76dce2 (diff) | |
download | tde-packaging-018f946ee70600993c60a74046f417ca05bdb41b.tar.gz tde-packaging-018f946ee70600993c60a74046f417ca05bdb41b.zip |
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-core/tde-tqtinterface/PKGBUILD')
-rw-r--r-- | arch/tde-core/tde-tqtinterface/PKGBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/arch/tde-core/tde-tqtinterface/PKGBUILD b/arch/tde-core/tde-tqtinterface/PKGBUILD new file mode 100644 index 000000000..8d6534b6e --- /dev/null +++ b/arch/tde-core/tde-tqtinterface/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Michael Manley <mmanley@nasutek.com> +# Contributor: Pawel 'l0ner' Soltys <pwslts@gmail.com> +# Contributor: Calvin Morrison <mutantturkey@gmail.com> +# Contributor: David C. Rankin <drankinatty at gmail dot com> + +pkgname=tde-tqtinterface +pkgver=14.0.5 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://trinity.pearsoncomputing.net" +license=('GPL2') +groups=('tde-core') +pkgdesc="TQt interface for the TDE desktop" +depends=('tde-tqt3' 'glu') +makedepends=('pkgconfig' 'cmake') +provides=('tqtinterface') +conflicts=('kdemod3-tqtinterface' 'trinity-tqtinterface') +replaces=('trinity-tqtinterface') +# makeopts=('libtool' '!emptydirs' '!strip') +options=('staticlibs' 'libtool' '!emptydirs' '!strip') + +source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/dependencies/tqtinterface-R${pkgver}.tar.bz2" + 'tqtpc-location.patch') + +md5sums=('b1d086bbcc0cd62dfbb5833ff0af71a2' + 'c15745c944d98cb7c4cb553f0ca421d4') + +install='trinity-tqtinterface.install' + +_prefix=/usr +_tdedir=/opt/trinity + +build() { + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake "../dependencies/tqtinterface" \ + -DCMAKE_INSTALL_PREFIX=${_prefix} \ + -DQT_PREFIX_DIR=${QTDIR} \ + -DQT_INCLUDE_DIR=${QTDIR}/include \ + -DMOC_EXECUTABLE=${QTDIR}/bin/moc \ + -DQT_VERSION=3 + + make $NUMJOBS +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + make -j1 DESTDIR="${pkgdir}" install + + # Create and install ld.so.conf.d file + install -d -m755 $pkgdir/etc/ld.so.conf.d/ + echo ${_tdedir}/lib > $pkgdir/etc/ld.so.conf.d/trinity.conf + echo ${_tdedir}/lib/trinity >> $pkgdir/etc/ld.so.conf.d/trinity.conf +} |