aboutsummaryrefslogtreecommitdiffstats
path: root/main/dconf/APKBUILD
blob: 0b34117899dfabb03395aed7aa984661582f9eb3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dconf
pkgver=0.26.0
pkgrel=1
pkgdesc="A low-level configuration system."
url="http://live.gnome.org/dconf"
arch="all"
license="LGPL2.1"
depends=""
makedepends="glib-dev dbus-dev docbook-xsl vala"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-$pkgver.tar.xz
	"

#	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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib/dconf \
		|| return 1
	make V=1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="7fc3cb1cf22d904d8744bd12e9c9d3dd  dconf-0.26.0.tar.xz"
sha256sums="8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9  dconf-0.26.0.tar.xz"
sha512sums="ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e  dconf-0.26.0.tar.xz"