summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlsf2021-09-14 15:09:35 +0200
committerlsf2021-09-14 15:09:35 +0200
commitb87c666acdd1b4f6e7cd26f81da0927ca55e654c (patch)
tree18fb8519274a840f891bef530622193fdeff47c4
parent2c316c3ae3b2457e62c2dc5da5fb5debcb4330fa (diff)
downloadaur-b87c666acdd1b4f6e7cd26f81da0927ca55e654c.tar.gz
fix pkgver so rc does not produce odd versions
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d5c6a5496d26..dc21259a430c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 9dec2fb54c2b..463f1ce74f62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {