#Packager: Dimitris Tzemos (djemos~AT~slackel~DOT~gr) pkgname=xdg-utils pkgver=1.1.0rc1 pkgrel=1dj arch=noarch source=("http://portland.freedesktop.org/download/xdg-utils-1.1.0-rc1.tar.gz" "xdg-open_midori.patch") sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname docs=("LICENSE" "README" "RELEASE_NOTES" "TODO") url=http://portland.freedesktop.org/wiki/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xdg-utils (command line tools that assist applications)" "Xdg-utils is a set of command line tools that assist applications" "with a variety of desktop integration tasks. About half of the" "tools focus on tasks commonly required during the installation of" "a desktop application and the other half focuses on integration" "with the desktop environment while the application is running." "" "Homepage: http://portland.freedesktop.org/wiki/" ) build() { cd $SRC/$pkgname-1.1.0-rc1 # patch to add midori to the list of web browsers patch -p0 --verbose < $SRC/xdg-open_midori.patch || exit 1 ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ || exit 1 make -j $numjobs || make || exit 1 make install DESTDIR=$PKG || exit 1 }