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

pkgname=trinity-dbus-1-qt3
pkgver=0.9
pkgrel=9
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity D-Bus/Qt3 bindings."
depends=('trinity-qt3')
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
}