Date: Monday, May 8, 2017 @ 17:53:23 Author: andyrtr Revision: 295463
archrelease: copy trunk to testing-any Added: xdg-utils/repos/testing-any/ xdg-utils/repos/testing-any/PKGBUILD (from rev 295462, xdg-utils/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: xdg-utils/repos/testing-any/PKGBUILD (from rev 295462, xdg-utils/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2017-05-08 17:53:23 UTC (rev 295463) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Andreas Radke <andy...@archlinux.org> +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=xdg-utils +pkgver=1.1.2 +pkgrel=1 +pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks" +arch=('any') +url="https://www.freedesktop.org/wiki/Software/xdg-utils/" +license=('MIT') +depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver +makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git') +optdepends=('kde-cli-tools: for KDE Plasma5 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' + 'perl-net-dbus: Perl extension to dbus used in xdg-screensaver' + 'perl-x11-protocol: Perl X11 protocol used in xdg-screensaver') +source=(https://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz) #{,.asc} +sha1sums=('20cd4cc5cfaa904b12abf6d584deb568367f4d83') +#validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson <pe...@pqz.se>" + +prepare() { + cd $pkgname-$pkgver + # fix wrong hardcoded chromium binary name - FS#50184 +# sed -i "s:chromium-browser:chromium:" scripts/xdg-open.in +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd $pkgname-$pkgver + 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 +}