summaryrefslogtreecommitdiff
path: root/extra/libgail-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgail-gnome')
-rw-r--r--extra/libgail-gnome/PKGBUILD29
-rw-r--r--extra/libgail-gnome/libgail-gnome.install19
2 files changed, 48 insertions, 0 deletions
diff --git a/extra/libgail-gnome/PKGBUILD b/extra/libgail-gnome/PKGBUILD
new file mode 100644
index 000000000..fc074755f
--- /dev/null
+++ b/extra/libgail-gnome/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 111400 2011-02-26 15:19:19Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libgail-gnome
+pkgver=1.20.4
+pkgrel=1
+pkgdesc="GNOME Accessibility Implementation Library for gnomeui and libbonoboui"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gnome-panel-bonobo' 'at-spi' 'libgnomeui')
+makedepends=('intltool' 'pkgconfig')
+options=('!libtool' '!emptydirs')
+groups=('gnome-extra')
+install=libgail-gnome.install
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.20/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('c28f6757bdcf0651883837fc77708aa6b826438c1b96c39332eb9d53ae1bf0b0')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var
+ make
+ make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}
diff --git a/extra/libgail-gnome/libgail-gnome.install b/extra/libgail-gnome/libgail-gnome.install
new file mode 100644
index 000000000..81e110fd1
--- /dev/null
+++ b/extra/libgail-gnome/libgail-gnome.install
@@ -0,0 +1,19 @@
+pkgname=libgail-gnome
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ if [ -e usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}