aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-settings/APKBUILD
blob: a92183341e874c9a18a9ed7a89c64aedc0796b1e (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
48
49
50
51
52
53
54
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-settings
pkgver=4.10.1
pkgrel=1
pkgdesc="Settings manager for xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
depends=
subpackages="$pkgname-lang"
makedepends="libxfce4ui-dev exo-dev libxi-dev libxrandr-dev libxklavier-dev
	libnotify-dev libxcursor-dev garcon-dev"
source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
	alpine-defaults.patch
	"

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

prepare() {
	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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--enable-libxklavier \
		--enable-xrandr \
		--enable-sound-settings \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="eaa86dd86ef0dad9cf7af1ee2c831972  xfce4-settings-4.10.1.tar.bz2
3489c0bf7623acfd0d61699f78e3a6e3  alpine-defaults.patch"
sha256sums="118a6959ea50e3a533d7aa18ec5a878a47a30608b3ce9ce59a93c3888f4e13d5  xfce4-settings-4.10.1.tar.bz2
33cfb02133e7b22f12554f98fd17d4248448c25c843675a6d7d068609d1e4895  alpine-defaults.patch"
sha512sums="cf2d3255a0c862b0d016a8653fd1ba94c86b9da36b894dd7ad733d6758b9e023807aa93b1e43deeb0f6a34c6db23507f6fe32b6b7a98fa3e0d3bc7577da429f7  xfce4-settings-4.10.1.tar.bz2
08ef248388c23b7242d658f26d74af65936543ab2f7038b77b3cf5a02c8656a50abc762e9e8a430e2b4f980576949da1e512a10b6b288ad821371f2896eb8520  alpine-defaults.patch"