aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfdesktop/APKBUILD
blob: 74c7edd75daf43addbb04ec24325d67742a7accd (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfdesktop
pkgver=4.12.2
pkgrel=0
pkgdesc="A desktop manager for Xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
subpackages="$pkgname-doc $pkgname-lang"
depends="hicolor-icon-theme"
makedepends="garcon-dev thunar-dev libxfce4ui-dev libwnck-dev libnotify-dev
	exo-dev"
install=
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	"

_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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="9a29c8e6b8a931fecd29f1ea736a6a70  xfdesktop-4.12.2.tar.bz2"
sha256sums="c9788883163b57bac39d12e5f8310c869d176454879defb78b67f8e9f1ad5225  xfdesktop-4.12.2.tar.bz2"
sha512sums="b83f3d632b47593a6a600f508c06a097e77794cae8caa6e9c5c86300d1ebdb12967bdbd6638179c8b41855216ab534db2fae7f3bba2bda18e8fb8fb7c6966121  xfdesktop-4.12.2.tar.bz2"