Update pkgver to 0.0.0 and modify pkgver function to use git describe
Some checks failed
Build and push Archlinux package / build (push) Failing after 8s
Some checks failed
Build and push Archlinux package / build (push) Failing after 8s
This commit is contained in:
parent
6aca87dc42
commit
a4a5749fa7
1 changed files with 3 additions and 3 deletions
6
PKGBUILD
6
PKGBUILD
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: edpibu <contact@edgarpierre.fr>
|
||||
pkgname=desktop-git
|
||||
pkgver=r1.e944fe9
|
||||
pkgver=0.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Edpibu's desktop entries"
|
||||
arch=(any)
|
||||
|
@ -14,8 +14,8 @@ sha256sums=('SKIP')
|
|||
source=("git+https://code.edgarpierre.fr/edpibu/desktop.git")
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
cd "$pkgname"
|
||||
git describe --tags
|
||||
}
|
||||
package() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue