aboutsummaryrefslogtreecommitdiffstats
path: root/main/dconf/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-12 11:07:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-12 14:20:13 +0000
commit553d41ec2ec5275790e98ddc324904cdb8d93c25 (patch)
tree17e2480766b64302849222f9fd1bd4b1c239edc5 /main/dconf/APKBUILD
parent2dce2605afcdb09074150594e3f4b3d688557c36 (diff)
downloadaports-553d41ec2ec5275790e98ddc324904cdb8d93c25.tar.bz2
aports-553d41ec2ec5275790e98ddc324904cdb8d93c25.tar.xz
main/dconf: moved from testing
Diffstat (limited to 'main/dconf/APKBUILD')
-rw-r--r--main/dconf/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/dconf/APKBUILD b/main/dconf/APKBUILD
new file mode 100644
index 0000000000..255a6d8338
--- /dev/null
+++ b/main/dconf/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dconf
+pkgver=0.5.1
+pkgrel=0
+pkgdesc="A low-level configuration system."
+url="http://live.gnome.org/dconf"
+arch="all"
+license="LGPL2.1"
+depends=""
+makedepends="vala gobject-introspection gtk+-dev glib-dev libxml2-dev"
+install=
+source="http://download.gnome.org/sources/dconf/0.5/dconf-$pkgver.tar.bz2
+ 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch
+ "
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch)
+ patch -p1 -i "$srcdir/$i" || return 1
+ ;;
+ esac
+ done
+}
+
+build ()
+{
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/dconf
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="c905497d0255fe2ba58564f9655908ab dconf-0.5.1.tar.bz2
+750788f7fa6ff128ecdf7639ffff8b78 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch"