aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dconf-editor/APKBUILD
blob: fb03be67df4caa3a35bc2efc3b68a1fdc63a1841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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
}

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"