aboutsummaryrefslogtreecommitdiffstats
path: root/main/gconf/APKBUILD
blob: 467d8f5cec2e1fe6d0c4f7166e934ba952d21dd3 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gconf
pkgver=2.32.4
pkgrel=2
pkgdesc="GNOME configuration system"
url="http://projects.gnome.org/gconf"
arch="all"
license="GPL"
depends=
depends_dev="orbit2-dev libxml2-dev gtk+-dev polkit-dev"
makedepends="$depends_dev

	     gobject-introspection-dev
	     gnome-doc-utils"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/GConf/${pkgver%.*}/GConf-${pkgver}.tar.bz2"

_builddir="${srcdir}/GConf-${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 --prefix=/usr \
		--sysconfdir=/etc \
		--with-gtk=2.0 || return 0
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}

md5sums="b4475bb58c51ca59c7781cd95b302c13  GConf-2.32.4.tar.bz2"