Пытаюсь сделать такое:
pkgver() {
cd "$srcdir/$_gitname"
git describe --always | sed 's|-|.|g'
}
(стыбрино отсюда: https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines).
Не хочет работать:
p1@qemu-git-lite$ makepkg
==> Making package: qemu-git-lite -1 (Fri May 17 10:21:17 CEST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Extracting sources...
==> Starting pkgver()...
==> Updated version: qemu-git-lite -1
==> ERROR: pkgver is not allowed to be empty.
**Что делать?**
EBUILDPKGBUILD: http://dpaste.com/hold/1172195/