[arch-commits] Commit in xdg-utils/repos (testing-any testing-any/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Oct 7 19:22:32 UTC 2015


    Date: Wednesday, October 7, 2015 @ 21:22:32
  Author: andyrtr
Revision: 248470

archrelease: copy trunk to testing-any

Added:
  xdg-utils/repos/testing-any/
  xdg-utils/repos/testing-any/PKGBUILD
    (from rev 248469, xdg-utils/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: xdg-utils/repos/testing-any/PKGBUILD (from rev 248469, xdg-utils/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2015-10-07 19:22:32 UTC (rev 248470)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xdg-utils
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks"
+arch=('any')
+url="http://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=('kdebase-runtime: for KDE4 support in xdg-open'
+            'kde-cli-tools: for KDE Plasma5 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=(http://portland.freedesktop.org/download/$pkgname-$pkgver.tar.gz{,.asc})
+md5sums=('2d0aec6037769a5f138ff404b1bb4b15'
+         'SKIP')
+validpgpkeys=('8B75CA7811367175D05F3B03C43570F80CC295E6') # "Per Olofsson <pelle at pqz.se>"
+
+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
+}



More information about the arch-commits mailing list