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

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Oct 16 15:29:11 UTC 2012


    Date: Tuesday, October 16, 2012 @ 11:29:10
  Author: andyrtr
Revision: 168928

archrelease: copy trunk to testing-any

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

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

Copied: xdg-utils/repos/testing-any/PKGBUILD (from rev 168927, xdg-utils/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-10-16 15:29:10 UTC (rev 168928)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xdg-utils
+_oldver=1.1.0
+_gitver=050333e34e2fe7430ad2ead37e5a0420ac0c2a3e # xdg-mime does not search mimeinfo.cache
+_gitdate=20121008
+pkgver=${_oldver}.git${_gitdate}
+pkgrel=1
+pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks"
+arch=('any')
+url="http://portland.freedesktop.org/"
+license=('MIT')
+depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver
+makedepends=('docbook-xsl' 'lynx' 'xmlto')
+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=(http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz)
+md5sums=('a590889b5bbfd0c42976004bdc2eb83b')
+
+build() {
+	cd ${srcdir}/${pkgname}-${_gitver}
+	./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 ${srcdir}/${pkgname}-${_gitver}
+	make DESTDIR="${pkgdir}" install
+	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list