# Maintainer: Natanael Copa pkgname=xfce4-panel pkgver=4.12.0 pkgrel=1 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" depends_dev="libxfce4util-dev gtk+2.0-dev" makedepends="$depends_dev libxfce4ui-dev exo-dev garcon-dev libwnck-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 "$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 } md5sums="5a333af704e386c90ad829b6baf1a758 xfce4-panel-4.12.0.tar.bz2" sha256sums="30920fc2e2fc26279a82b5261a155c2cc15ab2aa1ced2275684a6ff8261b97b0 xfce4-panel-4.12.0.tar.bz2" sha512sums="9b5d0d51ac2c312d54e8daeea95bd861891e652faeee8b4a7dbf4b33507b70bf7b4fbca7cb8f2d3573699ae940a14d5a9a41da24f324db256146d8b7db8519a8 xfce4-panel-4.12.0.tar.bz2"