summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Prost-Boucle2016-10-30 20:23:51 +0100
committerAdrien Prost-Boucle2016-10-30 20:23:51 +0100
commit9090458134254003d1d746721bf2a012a217784a (patch)
tree0ff581de6002b11611427e18145ae2037130e9ad
parent89c5b920665c6d30574289bb3f92dcea71069465 (diff)
downloadaur-9090458134254003d1d746721bf2a012a217784a.tar.gz
Get version string according to upstream updates
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4e166be742a..bfb0d877bd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Jan 8 14:32:59 UTC 2016
+# Sun Oct 30 19:22:29 UTC 2016
pkgbase = ghdl-mcode-git
pkgdesc = VHDL simulator - mcode backend
- pkgver = 0.34dev.git20160107
+ pkgver = 0.34dev.git20161030
pkgrel = 1
url = http://sourceforge.net/projects/ghdl-updates/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 7d423d55fa6..22a734ceec4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrien Prost-Boucle <adrien.prost-boucle@laposte.net>
pkgname=ghdl-mcode-git
-pkgver=0.34dev.git20160107
+pkgver=0.34dev.git20161030
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='VHDL simulator - mcode backend'
@@ -24,7 +24,7 @@ pkgver() {
cd "${srcdir}/ghdl"
# GHDL version (extracted from version.ads)
- _distver=`sed -n -e 's/.*GHDL \([0-9.a-z]*\) (.*/\1/p' src/version.ads`
+ _distver=`sed -n -e 's/.*Ghdl_Ver .*"\(.*\)".*/\1/p' src/version.in | tr -d '-'`
# Date of the last git commit
_gitver=`git log -n 1 --date=short | sed -n -e 's/.*Date:\s*\([0-9-]*\).*/\1/p' | tr -d -`