Fixing pkgver()
This commit is contained in:
parent
2b8231b076
commit
1bf26bcf65
2
PKGBUILD
2
PKGBUILD
|
@ -12,7 +12,7 @@ source=("git+${url}")
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd ${srcdir}
|
cd ${srcdir}/${pkgname}
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue