From 964e9fd055dc226341d6b939c7e20a5a6cdaa849 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sat, 4 Jun 2016 16:28:59 +0200 Subject: [PATCH] Bugfix in version detection --- arch/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 0fee77c..85b010a 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Markus Koch pkgname=model-ghdl -pkgver=8c5bdd7 +pkgver=cee0976 pkgrel=1 pkgdesc='A wrapper for ghdl to make it look like modelsim.' arch=('i686' 'x86_64') @@ -13,6 +13,7 @@ source=("model-ghdl::git://github.com/cclassic/model-ghdl.git") sha1sums=('SKIP') pkgver() { + cd "$srcdir/model-ghdl" echo $(git log |head -n 1|sed "s/.* //g" | head -c 7) }