# Maintainer: Natanael Copa pkgname=xfdesktop pkgver=4.7.2 pkgrel=0 pkgdesc="A desktop manager for Xfce" url="http://www.xfce.org/" license="GPL-2" subpackages="$pkgname-doc" 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 menu-item-monitor.patch fix-crash.patch" _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 --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="88d10a7775f65a007639f921c5c8f13a xfdesktop-4.7.2.tar.bz2 80888519567088ada69ef24953e3b81c menu-item-monitor.patch ba3b359ab312e6e75882c22f2f3d4a1a fix-crash.patch"