Fix pkgver
This commit is contained in:
parent
131d7ea6a9
commit
66886efebe
4
PKGBUILD
4
PKGBUILD
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user