blob: 91d0893a84c54425cecc4bc477df1cb9933e738a (
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
|
# $Id: PKGBUILD 49853 2009-08-16 18:53:06Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=dbus-qt3
pkgver=0.62
pkgrel=4
pkgdesc="QT3 bindings for DBUS"
arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.freedesktop.org/software/dbus"
depends=('qt3' 'dbus-core>=1.2.14')
makedepends=('pkgconfig')
options=('!libtool')
source=(ftp://ftp.archlinux.org/other/dbus/dbus-qt3_0.62.git.20060814.orig.tar.gz
dbus-qt3-compile-fix-thoenig-01.patch
dbus-qt3-do-not-close-shared-connection-thoenig-01.patch)
md5sums=('bdc61add46f64238fdc68a15e5f7269c'
'6c7a45865568340ee601d31e184653c1'
'9252c03a00d751201e53839d6a8ef78f')
build() {
. /etc/profile.d/qt3.sh
cd "${srcdir}/${pkgname}-${pkgver}/qt3"
patch -Np1 -i "${srcdir}/dbus-qt3-compile-fix-thoenig-01.patch" || return 1
patch -Np1 -i "${srcdir}/dbus-qt3-do-not-close-shared-connection-thoenig-01.patch" || return 1
cd ..
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
sed -e "s|DBUS_QT3_LIBS =|DBUS_QT3_LIBS = -L${QTDIR}/lib -lqt-mt|" \
-i Makefile qt3/Makefile || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
|