Fix pkgver

This commit is contained in:
jun7 2017-08-03 09:45:41 +09:00
parent 131d7ea6a9
commit 66886efebe

View File

@ -1,6 +1,6 @@
# Maintainer: jun7 <jun7@hush.com> # Maintainer: jun7 <jun7@hush.com>
pkgname=wyebadblock-git pkgname=wyebadblock-git
pkgver=1.1 pkgver=0
pkgrel=1 pkgrel=1
pkgdesc="An adblock extension for webkit2gtk browsers." pkgdesc="An adblock extension for webkit2gtk browsers."
arch=('x86_64') arch=('x86_64')
@ -14,7 +14,7 @@ md5sums=('SKIP')
pkgver(){ pkgver(){
cd "$srcdir/wyebadblock" cd "$srcdir/wyebadblock"
printf "$pkgver.%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
prepare() { prepare() {