You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/arch/tde-core/tde-avahi-tqt/PKGBUILD

45 lines
1.1 KiB

# 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
}