# Maintainer: Natanael Copa pkgname=xfce4-panel pkgver=4.8.3 pkgrel=2 pkgdesc="Panel for the Xfce desktop environment" url="http://www.xfce.org/" arch="all" license="GPL-2" subpackages="$pkgname-dev $pkgname-doc" 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 --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static make } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '*.la' -delete } md5sums="31d7c15fb93f4a771fc26cf13d4dc010 xfce4-panel-4.8.3.tar.bz2"