You are not logged in.
Hello everyone.
From the wiki I can not understand how to use the function `pkgver()`, if I use this:
pkgver() {
cd "$pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
What exactly do I have to put in the variable `pkgver`?
From the wiki: To use pkgver(), you still need to declare the pkgver variable with the most recent value.
Thanks for the help.
Last edited by brainfucksec (2019-11-11 08:17:17)
--= [ |<!55 ]=--
Offline
I solved it, you have to enter the number of the latest version normally.
--= [ |<!55 ]=--
Offline
You can also just run makepkg once, and it will update the pkgver variable in the PKGBUILD.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline