summaryrefslogtreecommitdiffstats
path: root/testing/dconf/APKBUILD
blob: 2b4dc5c4b077167713e6511598261af28e6574dc (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
# 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="x86 x86_64"
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"