[arch-commits] Commit in xdg-utils/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Oct 16 15:28:48 UTC 2012


    Date: Tuesday, October 16, 2012 @ 11:28:48
  Author: andyrtr
Revision: 168927

upgpkg: xdg-utils 1.1.0.git20121008-1

update git snapshot - fix FS#28011

Modified:
  xdg-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-16 15:19:57 UTC (rev 168926)
+++ PKGBUILD	2012-10-16 15:28:48 UTC (rev 168927)
@@ -2,9 +2,11 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=xdg-utils
-pkgver=1.1.0
-_gitdate=20120520
-pkgrel=2.${_gitdate}
+_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/"
@@ -17,12 +19,11 @@
             '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=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.${_gitdate}.tar.gz  # last git commit 2012-03-10 13:55:24 (GMT) allow DESKTOP_SESSION='Xfce Session' to match xfce
-)
-md5sums=('4e37d65322dbc4763e85b8ba461f919b')
+source=(http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-${_gitver}.tar.gz)
+md5sums=('a590889b5bbfd0c42976004bdc2eb83b')
 
 build() {
-	cd ${srcdir}/${pkgname}-5be359a49d4d8dc3c5f814ab89b8422ad522d837
+	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
@@ -30,7 +31,7 @@
 }
 
 package() {
-	cd ${srcdir}/${pkgname}-5be359a49d4d8dc3c5f814ab89b8422ad522d837
+	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