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

Levente Polyak anthraxx at archlinux.org
Wed Oct 17 07:37:44 UTC 2018


    Date: Wednesday, October 17, 2018 @ 07:37:43
  Author: anthraxx
Revision: 336795

upgpkg: valgrind 3.14.0-1

Modified:
  valgrind/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-17 07:31:05 UTC (rev 336794)
+++ PKGBUILD	2018-10-17 07:37:43 UTC (rev 336795)
@@ -3,7 +3,8 @@
 # Contributor: Allan McRae <allan at archlinux.org>
 
 pkgname=valgrind
-pkgver=3.13.0+290+2b0aa0a5
+_commit=3a3000290b4af0e8ef9880293c54659a6819ba78
+pkgver=3.14.0
 pkgrel=1
 pkgdesc='Tool to help find memory-management problems in programs'
 arch=('x86_64')
@@ -18,8 +19,7 @@
 provides=('valgrind-multilib')
 replaces=('valgrind-multilib')
 options=('!emptydirs' '!strip')
-_commit=2b0aa0a5b88f900e986a3360952fcb3d2513419d
-source=(git+http://repo.or.cz/valgrind.git#commit=$_commit
+source=("git+http://repo.or.cz/valgrind.git#commit=$_commit"
         valgrind-3.7.0-respect-flags.patch)
 md5sums=('SKIP'
          '470d9881870aacc210b7a6efb64cc9a9')
@@ -28,10 +28,7 @@
 
 pkgver() {
   cd valgrind
-  local _basever=${pkgver%%+*}
-  local _count="$(git rev-list --count svn/VALGRIND_${_basever//./_}..master)"
-
-  printf "%s+%s+%s" $_basever $_count ${_commit:0:8}
+  git describe --tags --always|sed -e 's|-|+|g' -e 's|VALGRIND_||g' -e 's|_|.|g'
 }
 
 prepare() {



More information about the arch-commits mailing list