aboutsummaryrefslogtreecommitdiffstats
path: root/main/dconf/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-17 12:12:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-17 12:18:48 +0000
commit65270d710ceaa587b576c9d745628fb75d6b11aa (patch)
tree34e2c90e30fe9bbd188c361fa48b7b4965d28d64 /main/dconf/APKBUILD
parent86dee5f2cfc986994d4840e9d82a2733fe0b6973 (diff)
downloadaports-65270d710ceaa587b576c9d745628fb75d6b11aa.tar.bz2
aports-65270d710ceaa587b576c9d745628fb75d6b11aa.tar.xz
main/dconf: upgrade to 0.9.0. split out dconf-editor
Diffstat (limited to 'main/dconf/APKBUILD')
-rw-r--r--main/dconf/APKBUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/main/dconf/APKBUILD b/main/dconf/APKBUILD
index 812b03c7be..4519f49061 100644
--- a/main/dconf/APKBUILD
+++ b/main/dconf/APKBUILD
@@ -1,18 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dconf
-pkgver=0.5.1
+pkgver=0.9.0
pkgrel=0
pkgdesc="A low-level configuration system."
url="http://live.gnome.org/dconf"
arch="all"
license="LGPL2.1"
depends=""
-makedepends="vala gobject-introspection-dev gtk+-dev glib-dev libxml2-dev"
+makedepends="vala gobject-introspection-dev gtk+3.0-dev glib-dev libxml2-dev
+ dbus-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
+subpackages="$pkgname-editor"
+source="http://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-$pkgver.tar.bz2
"
+# 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
@@ -38,5 +40,14 @@ package() {
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"
+editor() {
+ pkgdesc="Configuration editor for dconf"
+ mkdir -p "$subpkgdir"/usr/bin \
+ "$subpkgdir"/usr/share/applications \
+ || return 1
+ mv "$pkgdir"/usr/bin/dconf-editor "$subpkgdir"/usr/bin/ || return 1
+ mv "$pkgdir"/usr/share/dconf-editor "$subpkgdir"/usr/share/ || return 1
+ mv "$pkgdir"/usr/share/applications/dconf-editor.desktop \
+ "$subpkgdir"/usr/share/applications/ || return 1
+}
+md5sums="bd59d7ad24a1cb42092f80beddce4632 dconf-0.9.0.tar.bz2"