# Contributor: Ɓukasz Jendrysik # Maintainer: Natanael Copa pkgname=xfdesktop pkgver=4.12.3 pkgrel=0 pkgdesc="A desktop manager for Xfce" url="http://www.xfce.org/" arch="all" license="GPL-2" subpackages="$pkgname-doc $pkgname-lang" depends="hicolor-icon-theme" makedepends="garcon-dev thunar-dev libxfce4ui-dev libwnck-dev libnotify-dev exo-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 "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="cb34f4f333d7d122f1688d2f155202c8 xfdesktop-4.12.3.tar.bz2" sha256sums="a8a8d93744d842ca6ac1f9bd2c8789ee178937bca7e170e5239cbdbef30520ac xfdesktop-4.12.3.tar.bz2" sha512sums="e8c89640722d3dfb2c5aae09779f81e5e2a6e157cc4756a46139547bd1a5b1977fa828f68e8ea61d6c9483c35a9303169fc33cbeacde06f7e95e19c65ce54878 xfdesktop-4.12.3.tar.bz2"