# Contributor: William Pitcock # Maintainer: Natanael Copa setvar pkgname = 'libgnome' setvar pkgver = '2.32.1' setvar pkgrel = '6' setvar pkgdesc = ""GNOME base library"" setvar url = ""http://www.gnome.org/"" setvar arch = ""all"" setvar license = ""LGPL"" setvar depends = '' setvar depends_dev = ""gtk+3.0-dev gconf-dev libcanberra-dev gnome-vfs-dev libbonobo-dev"" setvar makedepends = "$depends_dev" setvar install = ""$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"" setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang"" setvar source = ""http://ftp.acc.umu.se/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 glib-2.36.patch"" setvar _builddir = ""${srcdir}/${pkgname}-${pkgver}"" proc prepare { local i cd $_builddir update_config_sub || return 1 for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 } proc package { cd $_builddir export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""a4345e6087ae6195d65a4674ffdca559 libgnome-2.32.1.tar.bz2 67e4f7b0acea497406f06b04df608982 glib-2.36.patch"" setvar sha256sums = ""b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4 libgnome-2.32.1.tar.bz2 a0895e37c81f5f45c0f05931416ddbad6284735eded43b75dc8d0947a5bddd55 glib-2.36.patch"" setvar sha512sums = ""f94e603255a93e73249e0fd9ed5604d732b44ad46f3cc3065afb46fc6162f6cf29304f49440b5c06303b8e68608b6fd16236076813febb5f1cbdcde4bfc3b3e3 libgnome-2.32.1.tar.bz2 1c7ed4c8012584c980f80ce12ee2e8ab1340432766b35b3139844927e183ef33d09a02eb7ec10bb8c7312950d2c1d0d1bdeef92512cded2278223470b2936087 glib-2.36.patch""