mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-29 09:13:28 +01:00
Bugfix in version detection
This commit is contained in:
parent
cee0976240
commit
964e9fd055
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Markus Koch <CClassicVideos@aol.com>
|
# Maintainer: Markus Koch <CClassicVideos@aol.com>
|
||||||
|
|
||||||
pkgname=model-ghdl
|
pkgname=model-ghdl
|
||||||
pkgver=8c5bdd7
|
pkgver=cee0976
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A wrapper for ghdl to make it look like modelsim.'
|
pkgdesc='A wrapper for ghdl to make it look like modelsim.'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -13,6 +13,7 @@ source=("model-ghdl::git://github.com/cclassic/model-ghdl.git")
|
|||||||
sha1sums=('SKIP')
|
sha1sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
cd "$srcdir/model-ghdl"
|
||||||
echo $(git log |head -n 1|sed "s/.* //g" | head -c 7)
|
echo $(git log |head -n 1|sed "s/.* //g" | head -c 7)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user