diff options
author | lsf | 2021-09-14 15:09:35 +0200 |
---|---|---|
committer | lsf | 2021-09-14 15:09:35 +0200 |
commit | b87c666acdd1b4f6e7cd26f81da0927ca55e654c (patch) | |
tree | 18fb8519274a840f891bef530622193fdeff47c4 | |
parent | 2c316c3ae3b2457e62c2dc5da5fb5debcb4330fa (diff) | |
download | aur-b87c666acdd1b4f6e7cd26f81da0927ca55e654c.tar.gz |
fix pkgver so rc does not produce odd versions
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = opensnitch-git pkgdesc = A GNU/Linux port of the Little Snitch application firewall - pkgver = 1.4.0.rc.2.r27.8580281 - pkgrel = 3 + pkgver = 1.4.0.r3.c66d5d6 + pkgrel = 1 url = https://github.com/evilsocket/opensnitch install = opensnitch.install arch = i686 @@ -3,8 +3,8 @@ # Contributor: lsf # Contributor: Adam Hose <adis@blad.is> pkgname=opensnitch-git -pkgver=1.4.0.rc.2.r27.8580281 -pkgrel=3 +pkgver=1.4.0.r3.c66d5d6 +pkgrel=1 pkgdesc="A GNU/Linux port of the Little Snitch application firewall" arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/evilsocket/opensnitch" @@ -24,7 +24,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" - git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g' + git describe --long | sed 's/^v//;s/rc\.[0-9]*-//;s/\([^-]*-\)g/r\1/;s/-/./g' } prepare() { |