diff options
Diffstat (limited to 'extra/at-spi2-atk')
-rw-r--r-- | extra/at-spi2-atk/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/at-spi2-atk/at-spi2-atk.install | 12 |
2 files changed, 15 insertions, 21 deletions
diff --git a/extra/at-spi2-atk/PKGBUILD b/extra/at-spi2-atk/PKGBUILD index 2b890258f..493ed8cd4 100644 --- a/extra/at-spi2-atk/PKGBUILD +++ b/extra/at-spi2-atk/PKGBUILD @@ -1,35 +1,35 @@ -# $Id: PKGBUILD 98652 2010-11-12 00:22:02Z ibiru $ +# $Id: PKGBUILD 120714 2011-04-26 05:27:06Z jgc $ # Maintainer: Ionut Biru <ibiru@archlinux.org> + pkgname=at-spi2-atk -pkgver=0.4.0 -pkgrel=2 +pkgver=2.0.1 +pkgrel=1 pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi" arch=('i686' 'x86_64') url="http://www.gnome.org" license=('GPL2') -depends=('dbus-core>=1.4.0' 'dbus-glib>=0.92' 'atk>=1.32.0' 'gconf>=2.32.0') +depends=('at-spi2-core' 'libx11' 'atk' 'dconf') makedepends=('intltool') install=at-spi2-atk.install options=('!libtool') -source=(http://download.gnome.org/sources/${pkgname}/0.4/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('2e2308cd67fe256e08085e499808f6e41b8d4967d91831ff7f25953898fc5b46') +groups=('gnome') +source=(http://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('d78a88067a53db479d3c7c1ce31f095b1d4962e44e653800a12599ade397dafc') build() { cd "${srcdir}/${pkgname}-${pkgver}" + sed -i -e '/AC_PATH_XTRA/d' configure.ac + autoreconf --force --install + ./configure --prefix=/usr --sysconfdir=/etc \ - --disable-schemas-install + --disable-schemas-compile make } package() { cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - - install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain at-spi2-atk ${pkgdir}/etc/gconf/schemas/*.schemas - rm -f ${pkgdir}/etc/gconf/schemas/*.schemas } # vim:set ts=2 sw=2 et: diff --git a/extra/at-spi2-atk/at-spi2-atk.install b/extra/at-spi2-atk/at-spi2-atk.install index c0df41a2a..2ef26aaa9 100644 --- a/extra/at-spi2-atk/at-spi2-atk.install +++ b/extra/at-spi2-atk/at-spi2-atk.install @@ -1,17 +1,11 @@ -pkgname=at-spi2-atk - post_install() { - usr/sbin/gconfpkg --install ${pkgname} -} - -pre_upgrade() { - pre_remove $1 + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas } post_upgrade() { post_install $1 } -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} +post_remove() { + post_install $1 } |