summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libgnome
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/libgnome')
-rw-r--r--abs/extra-testing/libgnome/PKGBUILD28
-rw-r--r--abs/extra-testing/libgnome/libgnome.install22
2 files changed, 50 insertions, 0 deletions
diff --git a/abs/extra-testing/libgnome/PKGBUILD b/abs/extra-testing/libgnome/PKGBUILD
new file mode 100644
index 0000000..1785596
--- /dev/null
+++ b/abs/extra-testing/libgnome/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 13047 2008-09-25 19:54:22Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libgnome
+pkgver=2.24.1
+pkgrel=1
+pkgdesc="Common libraries for GNOME"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gnome-vfs>=2.24.0' 'esd>=0.2.40' 'libbonobo>=2.24.0')
+makedepends=('pkgconfig' 'perlxml')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org"
+install=libgnome.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('3b2a30329898b37b2461b3aa886e5ad9')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static || return 1
+ make || return 1
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install || return 1
+
+ mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
+ gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas || return 1
+ rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
+}
diff --git a/abs/extra-testing/libgnome/libgnome.install b/abs/extra-testing/libgnome/libgnome.install
new file mode 100644
index 0000000..ab307b1
--- /dev/null
+++ b/abs/extra-testing/libgnome/libgnome.install
@@ -0,0 +1,22 @@
+pkgname=libgnome
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+op=$1
+shift
+
+$op $*