summaryrefslogtreecommitdiff
path: root/extra/at-spi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/at-spi/PKGBUILD')
-rw-r--r--extra/at-spi/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/extra/at-spi/PKGBUILD b/extra/at-spi/PKGBUILD
index 1efc2cc0c..0970c90f4 100644
--- a/extra/at-spi/PKGBUILD
+++ b/extra/at-spi/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 92799 2010-10-01 11:04:27Z allan $
+# $Id: PKGBUILD 120762 2011-04-26 14:25:06Z ibiru $
# Maintainer: Jan de Groot <jan@archlinux.org>
pkgname=at-spi
pkgver=1.32.0
-pkgrel=2
+pkgrel=4
pkgdesc="Assistive Technology Service Provider Interface"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('libbonobo>=2.32.0' 'libxtst' 'gtk2>=2.22.0' 'gconf>=2.31.91')
+depends=('libbonobo' 'libxtst' 'gtk2' 'gconf')
makedepends=('pkgconfig' 'python2' 'intltool' 'libice' 'libsm')
options=('!libtool' '!emptydirs')
url="http://www.gnome.org"
@@ -19,11 +19,17 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
- --libexecdir=/usr/lib/at-spi
+ --libexecdir=/usr/lib/at-spi \
+ --enable-relocate
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
make 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" --domain at-spi ${pkgdir}/etc/gconf/schemas/*.schemas
- rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain at-spi "${pkgdir}"/etc/gconf/schemas/*.schemas
+ rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}