aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-panel/APKBUILD
blob: 753fd1e77c067f132d0118ca4e41ca7ccf1eacbd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-panel
pkgver=4.10.1
pkgrel=0
pkgdesc="Panel for the Xfce desktop environment"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="hicolor-icon-theme"
makedepends="libxfce4ui-dev exo-dev garcon-dev libwnck-dev" 
install=
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	"

depends_dev="libxfce4util-dev gtk+-dev"

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

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

md5sums="8a1f8371fc725ba00f4594c5c0f81c59  xfce4-panel-4.10.1.tar.bz2"
sha256sums="573052ed1b65e247415f92df120c8a78f9e4152c2636d38c923f82e32b8475d6  xfce4-panel-4.10.1.tar.bz2"
sha512sums="0a115fcfa5cdf28158e7d56038a8669849494259c1c6e622614384179015edf868978c4226e13fd8b244ccb6b1a9798577eb38604b71c872bfb9229b87ccc531  xfce4-panel-4.10.1.tar.bz2"