[arch-commits] Commit in at-spi/trunk (PKGBUILD at-spi.install)
Ionut Biru
ibiru at archlinux.org
Wed Apr 21 12:47:33 UTC 2010
Date: Wednesday, April 21, 2010 @ 08:47:32
Author: ibiru
Revision: 78332
upgpkg: at-spi 1.30.0-2
implement install gconf schema
Added:
at-spi/trunk/at-spi.install
Modified:
at-spi/trunk/PKGBUILD
----------------+
PKGBUILD | 13 +++++++++----
at-spi.install | 17 +++++++++++++++++
2 files changed, 26 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-21 10:48:02 UTC (rev 78331)
+++ PKGBUILD 2010-04-21 12:47:32 UTC (rev 78332)
@@ -3,14 +3,15 @@
pkgname=at-spi
pkgver=1.30.0
-pkgrel=1
+pkgrel=2
pkgdesc="Assistive Technology Service Provider Interface"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('libbonobo>=2.24.2' 'libxtst' 'gtk2>=2.20.0' 'gconf>=2.28.0')
+depends=('libbonobo>=2.24.2' 'libxtst' 'gtk2>=2.20.0' 'gconf>=2.28.1')
makedepends=('pkgconfig' 'python' 'intltool')
-options=('!libtool')
+options=('!libtool' '!emptydirs')
url="http://www.gnome.org"
+install=at-spi.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.30/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('b3119a6ffcdc8aa18244e964bb4acdf23c13e1815153dc85c69ba0567b68bddb')
@@ -20,5 +21,9 @@
--localstatedir=/var --disable-static \
--libexecdir=/usr/lib/at-spi || return 1
make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+
+ 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 || return 1
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}
Added: at-spi.install
===================================================================
--- at-spi.install (rev 0)
+++ at-spi.install 2010-04-21 12:47:32 UTC (rev 78332)
@@ -0,0 +1,17 @@
+pkgname=at-spi
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
More information about the arch-commits
mailing list