aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfconf/APKBUILD
blob: db09f8449ab3da3fda20f503144a46e3d9644633 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfconf
pkgver=4.12.0
pkgrel=0
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"
}
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="8ebfac507b4d6ce3f4bac9d257c2853b  xfconf-4.12.0.tar.bz2"
sha256sums="9910eaea8405336415d4d7f3056403f8c67bc23ba0dce251eac35205c603b156  xfconf-4.12.0.tar.bz2"
sha512sums="60cc37a7207b0486f7f2de665870facf8e339241df344d7540082f3db447b3ac88bddd306d6a09a3868878cb477d1696491c71470052ef56cb649d773bd55b56  xfconf-4.12.0.tar.bz2"