mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 14:34:42 +01:00
v24.4.r2510.e5a28375-2
This commit is contained in:
parent
ff971d7ab6
commit
2d788ea141
2 changed files with 7 additions and 5 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = nzbget-git
|
||||
pkgdesc = Download from Usenet using .nzb files (testing release)
|
||||
pkgver = 24.4.r2510.e5a28375
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/nzbgetcom/nzbget
|
||||
install = nzbget.install
|
||||
arch = x86_64
|
||||
|
|
|
|||
10
PKGBUILD
10
PKGBUILD
|
|
@ -4,10 +4,9 @@
|
|||
# Contributor: Jan Holthuis <holthuis.jan@googlemail.com>
|
||||
|
||||
pkgname=nzbget-git
|
||||
_pkgver=24.4
|
||||
pkgver="${_pkgver}.r2510.e5a28375"
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Download from Usenet using .nzb files (testing release)"
|
||||
pkgver=24.4.r2510.e5a28375
|
||||
arch=('x86_64')
|
||||
url="https://github.com/nzbgetcom/nzbget"
|
||||
license=('GPL')
|
||||
|
|
@ -26,7 +25,10 @@ sha256sums=('SKIP'
|
|||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
printf "%s.r%s.%s" "${_pkgver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
local _pkgver=$(grep 'set(VERSION' CMakeLists.txt | sed -n 's/.*"\([0-9.]*\)".*/\1/p')
|
||||
local _rev=$(git rev-list --count HEAD)
|
||||
local _hash=$(git rev-parse --short HEAD)
|
||||
printf "%s.r%s.%s" "${_pkgver}" "${_rev}" "${_hash}"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue