diff options
author | Omar Pakker | 2019-07-25 19:48:30 +0000 |
---|---|---|
committer | Omar Pakker | 2019-07-25 19:48:30 +0000 |
commit | 7022e850a5c408155e79b1b8aa1599973bfca3f0 (patch) | |
tree | a099cbd09476a2cf0a115ac550ed2ea24e68f561 | |
parent | 37e435ac799d4b094f0d975a9218eba58aa3ccdf (diff) | |
download | aur-7022e850a5c408155e79b1b8aa1599973bfca3f0.tar.gz |
Update upstream version number representation so we hopefully do not have to keep bumping epoch.
This means B1-rc6 would now be B1rc6 instead of B1_rc6.
This for now assumes that:
- Future tags are Releases and RCs only
- Those Releases will still be tagged as [A-Z][0-9]+ (e.g. B1, B2, C1, ...)
- Those RCs will still be tagged as -rc[0-9]+ (e.g. B1-rc6, B2-rc1, C1-rc3, ...)
Otherwise `vercmp` results will change again and we will have to re-evaluate.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,8 +1,8 @@ pkgbase = looking-glass-git pkgdesc = An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough - pkgver = B1_rc5.r6.g2b4f809 - pkgrel = 2 - epoch = 1 + pkgver = B1.r1.g163a2e5 + pkgrel = 1 + epoch = 2 url = https://looking-glass.hostfission.com install = looking-glass-git.install arch = x86_64 @@ -3,9 +3,9 @@ _pkgname=looking-glass pkgbase="${_pkgname}-git" pkgname=("${_pkgname}-git" "${_pkgname}-module-dkms-git" "${_pkgname}-host-git") -epoch=1 -pkgver=B1_rc5.r6.g2b4f809 -pkgrel=2 +epoch=2 +pkgver=B1.r1.g163a2e5 +pkgrel=1 pkgdesc="An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough" url="https://looking-glass.hostfission.com" arch=('x86_64') @@ -19,7 +19,7 @@ pkgver() { cd "${_pkgname}" local TAG=$(git describe --abbrev=0 --tags) local SUFFIX=$(git describe --long --tags | sed 's/^'"${TAG}"'-\([^-]*-g\)/r\1/;s/-/./g') - printf "%s.%s" "${TAG//-/_}" "${SUFFIX}" + printf "%s.%s" "${TAG//-/}" "${SUFFIX}" } build() { |