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

Alexander Rødseth arodseth at nymeria.archlinux.org
Mon Mar 17 15:27:42 UTC 2014


    Date: Monday, March 17, 2014 @ 16:27:42
  Author: arodseth
Revision: 107486

upgpkg: archey3 0.5-1

Modified:
  archey3/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-17 15:03:14 UTC (rev 107485)
+++ PKGBUILD	2014-03-17 15:27:42 UTC (rev 107486)
@@ -18,9 +18,8 @@
 md5sums=('SKIP')
 
 pkgver() {
-  cd "$pkgname"
-
-  grep pkgver= PKGBUILD | cut -d'=' -f2
+  # Fetch the version number from the PKGBUILD in the upstream git repo
+  grep pkgver= "$pkgname/PKGBUILD" | cut -d'=' -f2
 }
 
 package() {




More information about the arch-commits mailing list