diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:24:50 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:24:50 -0600 |
commit | bff1dc0cff0e2e20bed644e348e07e4178a7606b (patch) | |
tree | f9d93b9907ab2209b7e09be55c65344367291231 /main/libgnome/APKBUILD | |
parent | 12c89efce4b226de2ac5fc8ed81ed31b5d2402b5 (diff) | |
download | aports-bff1dc0cff0e2e20bed644e348e07e4178a7606b.tar.bz2 aports-bff1dc0cff0e2e20bed644e348e07e4178a7606b.tar.xz |
testing/libgnome: promote to main
Diffstat (limited to 'main/libgnome/APKBUILD')
-rw-r--r-- | main/libgnome/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/main/libgnome/APKBUILD b/main/libgnome/APKBUILD new file mode 100644 index 000000000..75e07711a --- /dev/null +++ b/main/libgnome/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=libgnome +pkgver=2.32.0 +pkgrel=0 +pkgdesc="GNOME base library" +url="http://www.gnome.org/" +arch="all" +license="LGPL" +depends= +depends_dev="gtk+-dev gconf-dev libcanberra-dev gnome-vfs-dev libbonobo-dev" +makedepends="$depends_dev" +install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade" +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.acc.umu.se/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-scrollkeeper + make || return 1 +} + +package() { + cd "$_builddir" + + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="b27a0c61918fad8492d84b407a72bd7c libgnome-2.32.0.tar.bz2" |