Date: Monday, January 30, 2012 @ 13:44:31 Author: ibiru Revision: 148057
db-move: moved at-spi from [staging] to [testing] (x86_64) Added: at-spi/repos/testing-x86_64/ at-spi/repos/testing-x86_64/PKGBUILD (from rev 148047, at-spi/repos/staging-x86_64/PKGBUILD) at-spi/repos/testing-x86_64/at-spi.install (from rev 148047, at-spi/repos/staging-x86_64/at-spi.install) Deleted: at-spi/repos/staging-x86_64/ ----------------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ at-spi.install | 17 +++++++++++++++++ 2 files changed, 54 insertions(+) Copied: at-spi/repos/testing-x86_64/PKGBUILD (from rev 148047, at-spi/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-01-30 18:44:31 UTC (rev 148057) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=at-spi +pkgver=1.32.0 +pkgrel=5 +pkgdesc="Assistive Technology Service Provider Interface" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libbonobo' 'libxtst' 'gtk2' 'gconf') +makedepends=('pkgconfig' 'python2' 'intltool' 'libice' 'libsm') +options=('!libtool' '!emptydirs') +url="http://www.gnome.org" +install=at-spi.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.32/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('cc841dea746413eebadf0710dabec741450b37a06821c34526f505fe9d027039') + +# !! make sure you 'pacman -Rsc python' from your chroot before building the package or it would use python3 instead of the wanted python2 !! + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --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 +} Copied: at-spi/repos/testing-x86_64/at-spi.install (from rev 148047, at-spi/repos/staging-x86_64/at-spi.install) =================================================================== --- testing-x86_64/at-spi.install (rev 0) +++ testing-x86_64/at-spi.install 2012-01-30 18:44:31 UTC (rev 148057) @@ -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} +}