summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libgksu
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/libgksu')
-rw-r--r--abs/extra-testing/libgksu/PKGBUILD29
-rw-r--r--abs/extra-testing/libgksu/libgksu.install17
2 files changed, 46 insertions, 0 deletions
diff --git a/abs/extra-testing/libgksu/PKGBUILD b/abs/extra-testing/libgksu/PKGBUILD
new file mode 100644
index 0000000..5f18266
--- /dev/null
+++ b/abs/extra-testing/libgksu/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 5570 2008-07-18 21:03:14Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libgksu
+pkgver=2.0.7
+pkgrel=1
+pkgdesc="gksu authorization library"
+arch=(i686 x86_64)
+url="http://www.nongnu.org/gksu/index.html"
+license=(GPL)
+depends=('gnome-keyring>=2.22.3' 'libgtop>=2.22.3'
+ 'libglade>=2.6.2' 'startup-notification>=0.9')
+makedepends=('gtk-doc' 'pkgconfig')
+options=('!libtool')
+install=libgksu.install
+source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz)
+md5sums=('2f2c6a21281370942ea2855553d3ad89')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static || return 1
+ make || return 1
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install || return 1
+ rm -f ${startdir}/pkg/usr/lib/*.a
+ install -m755 -d ${startdir}/pkg/usr/share/gconf/schemas
+ gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas || return 1
+ rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
+}
diff --git a/abs/extra-testing/libgksu/libgksu.install b/abs/extra-testing/libgksu/libgksu.install
new file mode 100644
index 0000000..89cf0cf
--- /dev/null
+++ b/abs/extra-testing/libgksu/libgksu.install
@@ -0,0 +1,17 @@
+pkgname=libgksu
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}