Fix pkgver function to correctly navigate directory and format version output
Some checks failed
Build and push Archlinux package / build (push) Failing after 9s
Some checks failed
Build and push Archlinux package / build (push) Failing after 9s
This commit is contained in:
parent
a4a5749fa7
commit
ce24875b2c
1 changed files with 2 additions and 2 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -14,8 +14,8 @@ sha256sums=('SKIP')
|
|||
source=("git+https://code.edgarpierre.fr/edpibu/desktop.git")
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
git describe --tags
|
||||
cd "$pkgname%-git"
|
||||
git describe --tags | sed -e"s/^v//"
|
||||
}
|
||||
package() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue