mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 15:29:38 +01:00
fix for pkgver
This commit is contained in:
parent
b8feaf3839
commit
9ff41f4fcf
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = nzbget-git
|
||||
pkgdesc = Download from Usenet using .nzb files
|
||||
pkgver = 21.0.r2306.bbfcf076
|
||||
pkgver = 21.0.r2309.5dda6b2e
|
||||
pkgrel = 1
|
||||
epoch = 1
|
||||
url = https://github.com/nzbget/nzbget
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
# Contributor: Jan Holthuis <holthuis.jan@googlemail.com>
|
||||
|
||||
pkgname=nzbget-git
|
||||
pkgver=21.0.r2306.bbfcf076
|
||||
pkgver=21.0.r2309.5dda6b2e
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="Download from Usenet using .nzb files"
|
||||
|
|
@ -26,7 +26,7 @@ sha256sums=('SKIP'
|
|||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
printf "%s.r%s.%s" "$(git describe --tags | sed 's/v//')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
printf "%s.r%s.%s" "$(git describe --tags | sed 's/^v//;s/-.*//g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue