Maybe if we specify it for each run of git?
This commit is contained in:
parent
cecc674192
commit
59a5122aa7
3
PKGBUILD
3
PKGBUILD
|
@ -12,8 +12,7 @@ source=("git+${url}")
|
|||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd ${srcdir}/${pkgname}
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
printf "r%s.%s" "$(git -C ${srcdir}/${pkgname} rev-list --count HEAD)" "$(git -C ${srcdir}/${pkgname} rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in New Issue