From 168dcd4dbede91ed732dd5582a3b46f3d6043b44 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 24 Jan 2011 11:18:26 -0600 Subject: testing/gconf: promote to main --- main/gconf/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 main/gconf/APKBUILD (limited to 'main/gconf/APKBUILD') diff --git a/main/gconf/APKBUILD b/main/gconf/APKBUILD new file mode 100644 index 000000000..3dbc6ad2e --- /dev/null +++ b/main/gconf/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: William Pitcock +# Maintainer: +pkgname=gconf +pkgver=2.32.1 +pkgrel=1 +pkgdesc="GNOME configuration system" +url="http://projects.gnome.org/gconf" +arch="all" +license="GPL" +depends= +depends_dev="orbit2-dev libxml2-dev gtk+-dev polkit-dev" +makedepends="$depends_dev + + gobject-introspection + gnome-doc-utils" +install="" +subpackages="$pkgname-dev" +source="http://ftp.gnome.org/pub/GNOME/sources/GConf/${pkgver%.*}/GConf-${pkgver}.tar.bz2" + +_builddir="${srcdir}/GConf-${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 \ + --with-gtk=2.0 || return 0 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="e3952c493cabee2903690fc4d203dca3 GConf-2.32.1.tar.bz2" -- cgit v1.2.3