aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfconf/APKBUILD
blob: ceb24a5b7ea7466f61d72f04144d3efd6123ecf0 (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=xfconf
pkgver=4.10.0
pkgrel=1
pkgdesc="Hierarchical configuration system for Xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="glib-dev dbus-dev dbus-glib-dev"
makedepends="$depends_dev libxfce4util-dev intltool gtk-doc"
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"


_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-gtk-doc \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="4ed48150a03fb5f42b455494307b7f28  xfconf-4.10.0.tar.bz2"