# Maintainer: Calvin Morrison 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 $pkgdir -name *.la -exec rm {} \; } package() { msg "Packaging - $pkgname-$pkgver" cd $srcdir/${pkgname#*trinity-}-$pkgver make DESTDIR="${pkgdir}" install }