summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-dbus-1-qt3/PKGBUILD
blob: eaa7f19fc38145460676f96dedfdc47a08913a2b (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
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>

pkgname=trinity-dbus-1-qt3
pkgver=0.9
pkgrel=8

arch=('i686' 'x86_64')

url="http://www.freedesktop.org/wiki/Software/DBusBindings"
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity - D-Bus/Qt3 bindings."

depends=('dbus' 'trinity-qt3' 'networkmanager')

provides=('trinity-dbus-1-qt3' 'dbus-1-qt3')
conflicts=('dbus-1-qt3')
replaces=('dbus-1-qt3')

options=('libtool' '!strip')

source=(http://people.freedesktop.org/~krake/dbus-1-qt3/${pkgname#*trinity-}-${pkgver}.tar.gz)
md5sums=('8ca3d13c372126aa9b0e16beb0a9d82d')

build() {
   cd $srcdir/${pkgname#*trinity-}-$pkgver
   msg "Setting enviroment variables..."
   . /etc/profile.d/qt3.sh
   msg "Starting configure..."
   ./configure --prefix=$QTDIR
   msg "Building #{pkgname}..."
   make || return 1

   # Libtool slay
   #     find $startdir/pkg -name *.la -exec rm {} \;
}

package() {
   msg "Packaging - $pkgname-$pkgver"
   cd $srcdir/${pkgname#*trinity-}-$pkgver
   make DESTDIR="${pkgdir}" install
}