diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-03 07:56:23 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-03 07:56:23 (GMT) |
commit | 0ce6326882d1ef6b45955ce0af948aa3da22bc07 (patch) | |
tree | 6ef646f87190a95deea7641df53c6ee5396c900c /abs/extra-testing/libgnome | |
parent | 907606040ebd98338b939452ee37698b62718820 (diff) | |
download | linhes_pkgbuild-0ce6326882d1ef6b45955ce0af948aa3da22bc07.zip linhes_pkgbuild-0ce6326882d1ef6b45955ce0af948aa3da22bc07.tar.gz linhes_pkgbuild-0ce6326882d1ef6b45955ce0af948aa3da22bc07.tar.bz2 |
Added support for Miro.
Diffstat (limited to 'abs/extra-testing/libgnome')
-rw-r--r-- | abs/extra-testing/libgnome/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/extra-testing/libgnome/libgnome.install | 22 |
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 $* |