diff options
Diffstat (limited to 'extra/dbus-qt3/PKGBUILD')
-rw-r--r-- | extra/dbus-qt3/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/dbus-qt3/PKGBUILD b/extra/dbus-qt3/PKGBUILD new file mode 100644 index 000000000..c14237077 --- /dev/null +++ b/extra/dbus-qt3/PKGBUILD @@ -0,0 +1,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) +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 +} |