diff options
author | lilydjwg | 2017-07-11 18:19:40 +0800 |
---|---|---|
committer | lilydjwg | 2017-07-11 18:19:40 +0800 |
commit | 0bfc8e6e85614eb34551f3f78620e7bfc14804b4 (patch) | |
tree | 43c7543ff7ad36e1a2b5f9bd183e29510ab39e92 /PKGBUILD | |
parent | 4abe85d8c71eeaeccb6018959b55f4be33f94d3e (diff) | |
download | aur-0bfc8e6e85614eb34551f3f78620e7bfc14804b4.tar.gz |
fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ # Co-maintainer: lilydjwg <lilydjwg@gmail.com> pkgname=nvchecker-git -pkgver=0.5dev.4 +pkgver=0.5.0 pkgrel=1 pkgdesc="a tool for checking if a new version of some software has been released." arch=('any') @@ -23,7 +23,7 @@ _gitroot=nvchecker pkgver() { cd "$srcdir/$_gitroot" - echo $(awk '$1 == "__version__" { gsub(/\x27/, "", $3); print $3 }' nvchecker/__init__.py).$(git describe --long | cut -d. -f2) + echo $(awk '$1 == "__version__" { gsub(/\x27/, "", $3); print $3 }' nvchecker/__init__.py).$(git describe --long | cut -d- -f2) } build() { |