aboutsummaryrefslogtreecommitdiffstats
path: root/main/gconf/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:18:26 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:18:26 -0600
commit168dcd4dbede91ed732dd5582a3b46f3d6043b44 (patch)
treebd9fdf9138f09b80d704fbc57b491e7a1c3ce214 /main/gconf/APKBUILD
parent9e714b39b30e316828486588b5de611b8f3b2497 (diff)
downloadaports-168dcd4dbede91ed732dd5582a3b46f3d6043b44.tar.bz2
aports-168dcd4dbede91ed732dd5582a3b46f3d6043b44.tar.xz
testing/gconf: promote to main
Diffstat (limited to 'main/gconf/APKBUILD')
-rw-r--r--main/gconf/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/gconf/APKBUILD b/main/gconf/APKBUILD
new file mode 100644
index 0000000000..3dbc6ad2e7
--- /dev/null
+++ b/main/gconf/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# 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"