# Maintainer: Natanael Copa pkgname=xfce4-panel pkgver=4.12.1 pkgrel=0 pkgdesc="Panel for the Xfce desktop environment" url="http://www.xfce.org/" arch="all" license="GPL2" 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="0b943f2e72a3693dddb1af559826cb62 xfce4-panel-4.12.1.tar.bz2" sha256sums="93d58b80cca9c9eb58adb281bc75404df7cf6cae89f7f98bb9f38690009aa2e8 xfce4-panel-4.12.1.tar.bz2" sha512sums="8bdc2a560a698e7d41429b40cde51ea1bec5aba211b6ee89b46822a38176e27e332efa785d93901d598b17171c739406e7f983372aaa49177db0f868aea985a4 xfce4-panel-4.12.1.tar.bz2"