summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-avahi-tqt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-20 17:08:32 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2021-09-29 06:38:40 +0000
commit018f946ee70600993c60a74046f417ca05bdb41b (patch)
tree37829ad4f8af4005172148ee78ab38b67328cecb /arch/tde-core/tde-avahi-tqt
parent2bcda9ee7da7582ee0e550a71b9f865cac76dce2 (diff)
downloadtde-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-avahi-tqt')
-rw-r--r--arch/tde-core/tde-avahi-tqt/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/tde-core/tde-avahi-tqt/PKGBUILD b/arch/tde-core/tde-avahi-tqt/PKGBUILD
new file mode 100644
index 000000000..f2a495316
--- /dev/null
+++ b/arch/tde-core/tde-avahi-tqt/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Michael Manley <mmanley@nasutek.com>
+# Contributor: David C. Rankin <drankinatty at gmail dot com>
+
+pkgname=tde-avahi-tqt
+pkgver=14.0.5
+pkgrel=1
+pkgdesc="Trinity Avahi-TQt"
+arch=('i686' 'x86_64')
+url='http://scm.trinitydesktop.org/scm/git/avahi-tqt'
+license=('GPL')
+groups=('tde-core')
+depends=('tde-tqtinterface' 'avahi' 'nss-mdns')
+# nss-mdns should probably move to tdelibs depends
+makedepends=('pkgconfig')
+provides=('avahi-tqt')
+replaces=('trinity-avahi-tqt')
+options=('staticlibs' 'libtool' '!strip')
+source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/dependencies/avahi-tqt-R${pkgver}.tar.bz2")
+md5sums=('3b296fb5e6131c14dec4f299b0c9d1d6')
+
+build() {
+ cd ${srcdir}
+
+ ## adjust pkgconfig path
+ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/trinity/tqt3/lib/pkgconfig"
+
+ cd ${srcdir}/dependencies/${pkgname#*-}
+
+ msg "Starting configure..."
+ ./autogen.sh --prefix=${TDEDIR} \
+ --sysconfdir=${TDEDIR}/etc \
+ --localstatedir=/var
+
+ msg "Building - $pkgname..."
+ make $NUMJOBS
+
+}
+
+package() {
+ msg "Packaging - $pkgname"
+
+ cd ${srcdir}/dependencies/${pkgname#*-}
+ make -j1 DESTDIR="${pkgdir}" install
+}