aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dconf-editor/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-25 10:17:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-25 10:17:37 +0000
commit33546431826ad0fecabe5b2021f98e71add0c52c (patch)
treecc41e54b8c0d61307bbac23899567b762ffdeecd /testing/dconf-editor/APKBUILD
parentfde11643bc0552dd960ec867b53e28b4f01bd235 (diff)
downloadaports-33546431826ad0fecabe5b2021f98e71add0c52c.tar.bz2
aports-33546431826ad0fecabe5b2021f98e71add0c52c.tar.xz
testing/dconf-editor: new aport
Configuration editor for dconf https://wiki.gnome.org/Projects/dconf
Diffstat (limited to 'testing/dconf-editor/APKBUILD')
-rw-r--r--testing/dconf-editor/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/dconf-editor/APKBUILD b/testing/dconf-editor/APKBUILD
new file mode 100644
index 0000000000..9a6d6b1745
--- /dev/null
+++ b/testing/dconf-editor/APKBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dconf-editor
+pkgver=3.16.0
+pkgrel=0
+pkgdesc="Configuration editor for dconf"
+url="https://wiki.gnome.org/Projects/dconf"
+arch="all"
+license="LGPLv2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev vala gtk+3.0-dev dconf-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/dconf-editor/3.16/dconf-editor-$pkgver.tar.xz"
+
+_builddir="$srcdir"/dconf-editor-$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 \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="fd0b398d21274b5412c0f0bd3643fab6 dconf-editor-3.16.0.tar.xz"
+sha256sums="811af889202996495f6074a5dcf6df84c0300eaa7fc79cda31682815b8d162f9 dconf-editor-3.16.0.tar.xz"
+sha512sums="4df64f915c6b1b0c578db826e5eff5c651f2f5f3bffc7b60e289bb5a46c1e39f9a9f0fd59a7dc2f50e6a7794b010ebfa549b8debc612de893f242c2d896f22c5 dconf-editor-3.16.0.tar.xz"