Date: Monday, October 13, 2014 @ 20:43:50 Author: andyrtr Revision: 224294
archrelease: copy trunk to testing-any Added: xdg-utils/repos/testing-any/ xdg-utils/repos/testing-any/PKGBUILD (from rev 224293, xdg-utils/trunk/PKGBUILD) ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Copied: xdg-utils/repos/testing-any/PKGBUILD (from rev 224293, xdg-utils/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2014-10-13 18:43:50 UTC (rev 224294) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=xdg-utils +pkgver=1.1.0.git20141009 +pkgrel=1 +pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks" +arch=('any') +url="http://cgit.freedesktop.org/xdg/xdg-utils/" +license=('MIT') +depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver +makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git') +optdepends=('kdebase-runtime: for KDE support in xdg-open' + 'libgnome: for GNOME support in xdg-open' + 'exo: for Xfce support in xdg-open' + 'xorg-xprop: for Xfce support in xdg-open' + 'pcmanfm: for LXDE support in xdg-open' + 'perl-file-mimeinfo: for generic support in xdg-open') +source=(git://anongit.freedesktop.org/xdg/xdg-utils#commit=f0df41402e827051ec16bac212c8eaf08ada75e4) +md5sums=('SKIP') + +pkgver() { + cd xdg-utils + echo "1.1.0.git$(git log -1 --format="%cd" --date=short | sed 's|-||g')" +} + +build() { + cd xdg-utils* + ./configure --prefix=/usr --mandir=/usr/share/man +# make scripts-clean -C scripts # needed if it's a git snapshot +# make man scripts -C scripts # needed if it's a git snapshot + make # for release builds +} + +package() { + cd xdg-utils + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # install empty directory to prevent xdg-desktop-menu install *.desktop to fail, see FS#33316 + install -dm755 $pkgdir/usr/share/desktop-directories +}