Date: Monday, January 7, 2013 @ 13:49:00 Author: andyrtr Revision: 174821
upgpkg: xdg-utils 1.1.0.git20121008-2 add empty /usr/share/desktop-directories for prevent to fail menu entries - FS#33316 Modified: xdg-utils/trunk/PKGBUILD ----------+ PKGBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-01-07 18:41:05 UTC (rev 174820) +++ PKGBUILD 2013-01-07 18:49:00 UTC (rev 174821) @@ -6,7 +6,7 @@ _gitver=050333e34e2fe7430ad2ead37e5a0420ac0c2a3e # xdg-mime does not search mimeinfo.cache _gitdate=20121008 pkgver=${_oldver}.git${_gitdate} -pkgrel=1 +pkgrel=2 pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks" arch=('any') url="http://portland.freedesktop.org/" @@ -19,8 +19,9 @@ '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=(http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz) -md5sums=('a590889b5bbfd0c42976004bdc2eb83b') +source=(#http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz + ftp://ftp.archlinux.org/other/$pkgname/xdg-utils-${_gitver}.tar.gz) +md5sums=('cc321af15724cf7ee1ef014c4a0120ea') build() { cd ${srcdir}/${pkgname}-${_gitver} @@ -34,4 +35,7 @@ cd ${srcdir}/${pkgname}-${_gitver} 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 }