APKBUILD 974 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1
2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-panel
3
pkgver=4.7.7
4
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5
6
pkgdesc="Panel for the Xfce desktop environment"
url="http://www.xfce.org/"
Natanael Copa's avatar
Natanael Copa committed
7
arch="x86 x86_64"
Natanael Copa's avatar
Natanael Copa committed
8
9
10
license="GPL-2"
subpackages="$pkgname-dev $pkgname-doc"
depends="hicolor-icon-theme"
11
makedepends="libxfce4ui-dev exo-dev garcon-dev libwnck-dev" 
12
install=
13
14
15
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	"

16
depends_dev="libxfce4util-dev gtk+-dev"
Natanael Copa's avatar
Natanael Copa committed
17

18
19
20
21
22
23
24
25
26
_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
}
27
build() {
Natanael Copa's avatar
Natanael Copa committed
28
29
30
31
32
33
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
34
35
36
37
38
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
39
40
41
	make DESTDIR="$pkgdir" install || return 1
}

42
md5sums="dabbc8ef3bb556cbdf22b375be008db7  xfce4-panel-4.7.7.tar.bz2"