blob: f2a495316b03ea39202d2c8ebd6e6befca21a8d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Michael Manley <[email protected]>
# 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
}
|