diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/libgnome/PKGBUILD | 57 |
1 files changed, 39 insertions, 18 deletions
diff --git a/abs/extra/libgnome/PKGBUILD b/abs/extra/libgnome/PKGBUILD index 9197e0f..8c5dc71 100644 --- a/abs/extra/libgnome/PKGBUILD +++ b/abs/extra/libgnome/PKGBUILD @@ -1,28 +1,49 @@ -# $Id: PKGBUILD 30321 2009-03-18 21:50:51Z jgc $ +# $Id: PKGBUILD 151073 2012-02-24 17:58:01Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> -pkgname=libgnome -pkgver=2.26.0 -pkgrel=2 -pkgdesc="Common libraries for GNOME" -arch=(i686 x86_64) +pkgbase=libgnome +pkgname=('libgnome' 'libgnome-data') +pkgver=2.32.1 +pkgrel=3 +arch=('i686' 'x86_64') license=('LGPL') -depends=('gnome-vfs>=2.24.1-2' 'esound>=0.2.41' 'libbonobo>=2.24.1') -makedepends=('pkgconfig' 'intltool') +makedepends=('intltool' 'gnome-vfs>=2.24.4' 'libbonobo>=2.32.1' 'gconf>=2.32.3' 'gvfs>=1.8.1' 'libcanberra>=0.28') options=('!libtool' '!emptydirs') url="http://www.gnome.org" -install=libgnome.install -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2) -md5sums=('a5634fe9ddc54bbb726cbaaa35abc0b9') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/2.32/${pkgbase}-${pkgver}.tar.bz2) +sha256sums=('b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgbase}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static || return 1 - make || return 1 - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 + --localstatedir=/var --disable-static --disable-esd + make +} + +package_libgnome() { + pkgdesc="Common libraries for GNOME" + depends=("libgnome-data=${pkgver}" 'gnome-vfs>=2.24.4' 'libbonobo>=2.32.1' 'gconf>=2.32.3' 'gvfs>=1.8.1' 'libcanberra>=0.28') + + cd "${srcdir}/${pkgbase}-${pkgver}" + + make -C libgnome DESTDIR="${pkgdir}" install + make -C monikers DESTDIR="${pkgdir}" install +} + +package_libgnome-data() { + pkgdesc="Common data from libgnome" + depends=('gconf') + install=libgnome.install + + cd "${srcdir}/${pkgbase}-${pkgver}" + + for dir in doc gnome-data po schemas + do + make -C $dir GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + done - install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgnome-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 - rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgbase}.schemas" --domain libgnome-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas } |