[arch-commits] Commit in at-spi/repos (6 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sun Jan 22 10:16:03 UTC 2012
Date: Sunday, January 22, 2012 @ 05:16:03
Author: andyrtr
Revision: 147108
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
at-spi/repos/staging-i686/
at-spi/repos/staging-i686/PKGBUILD
(from rev 147107, at-spi/trunk/PKGBUILD)
at-spi/repos/staging-i686/at-spi.install
(from rev 147107, at-spi/trunk/at-spi.install)
at-spi/repos/staging-x86_64/
at-spi/repos/staging-x86_64/PKGBUILD
(from rev 147107, at-spi/trunk/PKGBUILD)
at-spi/repos/staging-x86_64/at-spi.install
(from rev 147107, at-spi/trunk/at-spi.install)
-------------------------------+
staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-i686/at-spi.install | 17 +++++++++++++++++
staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-x86_64/at-spi.install | 17 +++++++++++++++++
4 files changed, 108 insertions(+)
Copied: at-spi/repos/staging-i686/PKGBUILD (from rev 147107, at-spi/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-01-22 10:16:03 UTC (rev 147108)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at 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/staging-i686/at-spi.install (from rev 147107, at-spi/trunk/at-spi.install)
===================================================================
--- staging-i686/at-spi.install (rev 0)
+++ staging-i686/at-spi.install 2012-01-22 10:16:03 UTC (rev 147108)
@@ -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}
+}
Copied: at-spi/repos/staging-x86_64/PKGBUILD (from rev 147107, at-spi/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-01-22 10:16:03 UTC (rev 147108)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at 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/staging-x86_64/at-spi.install (from rev 147107, at-spi/trunk/at-spi.install)
===================================================================
--- staging-x86_64/at-spi.install (rev 0)
+++ staging-x86_64/at-spi.install 2012-01-22 10:16:03 UTC (rev 147108)
@@ -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