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")
|
source=("git+https://code.edgarpierre.fr/edpibu/desktop.git")
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$pkgname"
|
cd "$pkgname%-git"
|
||||||
git describe --tags
|
git describe --tags | sed -e"s/^v//"
|
||||||
}
|
}
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/${pkgname%-git}"
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue