diff options
-rw-r--r-- | .SRCINFO | 34 | ||||
-rw-r--r-- | PKGBUILD | 65 | ||||
-rw-r--r-- | gq.install | 12 |
3 files changed, 111 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f3e181cb392f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,34 @@ +pkgbase = gq-git + pkgdesc = interactive graphical LDAP browser - git version + pkgver = 0.r1143.g76e1dea + pkgrel = 5 + url = http://sourceforge.net/projects/gqclient + install = gq.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = intltool + makedepends = git + makedepends = gnome-common + depends = libxml2 + depends = gtk2 + depends = libgnome-keyring + depends = libglade + depends = libldap + depends = libgpg-error + depends = libgcrypt + depends = krb5 + depends = gnome-icon-theme + provides = gq + conflicts = gq + source = gqclient::git://git.code.sf.net/p/gqclient/code + source = http://www.eworm.de/download/linux/gq-glib.patch + source = http://www.eworm.de/download/linux/gq-autogen.patch + source = http://www.eworm.de/download/linux/gq-pane.patch + sha256sums = SKIP + sha256sums = 3bdd9115c0717073decf1ee36bd784fe33e850224aca7c7f13a17463e45f0d53 + sha256sums = 59e6958736951642dfa60d212df1db163adfe36343fae9a9eb4c076c57d8e758 + sha256sums = 0b444deca182ed960d19e0200f6af8a675a25644cac80db1a228046c3d54fb5c + +pkgname = gq-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cdb5266439c2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Christian Hesse <mail@eworm.de> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Gergely Tamas <dice@mfa.kfki.hu> + +pkgname=gq-git +pkgver=0.r1143.g76e1dea +pkgrel=5 +pkgdesc='interactive graphical LDAP browser - git version' +conflicts=('gq') +provides=('gq') +url='http://sourceforge.net/projects/gqclient' +license=('GPL') +depends=('libxml2' 'gtk2' 'libgnome-keyring' 'libglade' 'libldap' + 'libgpg-error' 'libgcrypt' 'krb5' 'gnome-icon-theme') +makedepends=('intltool' 'git' 'gnome-common') +arch=('i686' 'x86_64') +install=gq.install +source=('gqclient::git://git.code.sf.net/p/gqclient/code' + 'http://www.eworm.de/download/linux/gq-glib.patch' + 'http://www.eworm.de/download/linux/gq-autogen.patch' + 'http://www.eworm.de/download/linux/gq-pane.patch') +sha256sums=('SKIP' + '3bdd9115c0717073decf1ee36bd784fe33e850224aca7c7f13a17463e45f0d53' + '59e6958736951642dfa60d212df1db163adfe36343fae9a9eb4c076c57d8e758' + '0b444deca182ed960d19e0200f6af8a675a25644cac80db1a228046c3d54fb5c') + +pkgver() { + cd gqclient/ + + if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then + echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")" + else + echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")" + fi +} + +build() { + cd gqclient/ + + # compile fix + patch -Np1 -i ${srcdir}/gq-glib.patch + + # fix for latest automake + patch -Np1 -i ${srcdir}/gq-autogen.patch + + # just a small improvemant, change pane width + patch -Np1 -i ${srcdir}/gq-pane.patch + + # use icon stock_addressbook from gnome-icon-theme + sed -i '/^Icon=/c Icon=stock_addressbook' data/gq.desktop.in + + ./autogen.sh \ + --prefix=/usr \ + --disable-debugging \ + --disable-update-mimedb \ + --with-kerberos5=yes + make +} + +package() { + cd gqclient/ + + make DESTDIR=${pkgdir} install +} + diff --git a/gq.install b/gq.install new file mode 100644 index 000000000000..895935dc61ad --- /dev/null +++ b/gq.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + |