diff options
Diffstat (limited to 'community/gq/PKGBUILD')
-rw-r--r-- | community/gq/PKGBUILD | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/community/gq/PKGBUILD b/community/gq/PKGBUILD index 2f91bca12..efcb9e858 100644 --- a/community/gq/PKGBUILD +++ b/community/gq/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 65588 2012-02-21 09:13:40Z spupykin $ +# $Id: PKGBUILD 103915 2014-01-13 17:16:47Z andyrtr $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Gergely Tamas <dice@mfa.kfki.hu> pkgname=gq pkgver=1.3.4 -pkgrel=2 +pkgrel=3 pkgdesc="interactive graphical LDAP browser" url="http://sourceforge.net/projects/gqclient" license=("GPL") @@ -12,12 +12,23 @@ depends=('libxml2' 'gtk2' 'libgnome-keyring' 'libglade' 'libldap>=2.4.18' 'libgp makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils') arch=('i686' 'x86_64') install=gq.install -source=(http://downloads.sourceforge.net/sourceforge/gqclient/$pkgname-$pkgver.tar.gz) -md5sums=('d7b1e183a3ecbd77aceea02d27f36b3e') +source=(http://downloads.sourceforge.net/sourceforge/gqclient/$pkgname-$pkgver.tar.gz + glib-headers-fix.patch) +md5sums=('d7b1e183a3ecbd77aceea02d27f36b3e' + '4a98232c5a908c86216c7d9e235d4c0b') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/glib-headers-fix.patch +} build() { cd $srcdir/$pkgname-$pkgver LDFLAGS=-lcrypto ./configure --prefix=/usr --disable-debugging --disable-update-mimedb make +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install } |