summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-dbus-1-tqt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-20 17:08:32 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-09-29 09:27:25 +0200
commit0ac2945504b4df71d0ac6777b2c956cd4921ad08 (patch)
tree301eb3b41ae6f4e78a8b5611040ba8d9c13af6dd /arch/tde-core/tde-dbus-1-tqt
parent318e997cf4d25c5d2e7b4261a6017b653c1fa93c (diff)
downloadtde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.tar.gz
tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.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> (cherry picked from commit 018f946ee70600993c60a74046f417ca05bdb41b)
Diffstat (limited to 'arch/tde-core/tde-dbus-1-tqt')
-rw-r--r--arch/tde-core/tde-dbus-1-tqt/PKGBUILD43
-rw-r--r--arch/tde-core/tde-dbus-1-tqt/trinity-dbus-1-tqt.install12
2 files changed, 55 insertions, 0 deletions
diff --git a/arch/tde-core/tde-dbus-1-tqt/PKGBUILD b/arch/tde-core/tde-dbus-1-tqt/PKGBUILD
new file mode 100644
index 000000000..8d1ddf2f2
--- /dev/null
+++ b/arch/tde-core/tde-dbus-1-tqt/PKGBUILD
@@ -0,0 +1,43 @@
+# 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-dbus-1-tqt
+pkgver=14.0.5
+pkgrel=1
+pkgdesc="Trinity D-Bus TQtInterface Wrapper - from TDE upstream GIT"
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('tde-core' 'tde-base')
+depends=('tde-tqtinterface' 'dbus')
+makedepends=('pkgconfig' 'cmake')
+provides=('dbus-1-tqt')
+conflicts=('trinity-dbus-1-tqt')
+replaces=('trinity-dbus-1-tqt' 'trinity-dbus-1-qt3' 'dbus-1-qt3' 'tde-dbus-tqt-1')
+options=('staticlibs' 'libtool' '!strip')
+source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/dependencies/dbus-1-tqt-R${pkgver}.tar.bz2")
+md5sums=('727b960ac3fbb5bf92d53215e70f58a6')
+install='trinity-dbus-1-tqt.install'
+
+build() {
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/dependencies/${pkgname#*-} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR}
+
+ msg "Building - $pkgname..."
+ make $NUMJOBS
+
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+ make -j1 DESTDIR="${pkgdir}" install
+}
diff --git a/arch/tde-core/tde-dbus-1-tqt/trinity-dbus-1-tqt.install b/arch/tde-core/tde-dbus-1-tqt/trinity-dbus-1-tqt.install
new file mode 100644
index 000000000..2a8dc4c98
--- /dev/null
+++ b/arch/tde-core/tde-dbus-1-tqt/trinity-dbus-1-tqt.install
@@ -0,0 +1,12 @@
+post_install() {
+ ldconfig &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+