summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlsf2022-02-04 17:12:15 +0100
committerlsf2022-02-04 17:12:15 +0100
commit7b60fcac56020c096153df12b4f386710b21bf25 (patch)
tree4261bfdee50b5a80855bd5b032ac24f8ae048587
parent852928fa9c2dd3a28a2c230f9054108d23fd51fe (diff)
downloadaur-7b60fcac56020c096153df12b4f386710b21bf25.tar.gz
much better pkgver-handling of rc-versions, thanks to diabonas!
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50164608408e..b4f77731fc9b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = opensnitch-git
pkgdesc = A GNU/Linux port of the Little Snitch application firewall
- pkgver = 1.5.0.r37.bb25362
+ pkgver = 1.5.0.r0.c396ed6
pkgrel = 1
url = https://github.com/evilsocket/opensnitch
install = opensnitch.install
diff --git a/PKGBUILD b/PKGBUILD
index 649ab4c8d968..972129deb83f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: lsf
# Contributor: Adam Hose <adis@blad.is>
pkgname=opensnitch-git
-pkgver=1.5.0.r37.bb25362
+pkgver=1.5.0.r0.c396ed6
pkgrel=1
pkgdesc="A GNU/Linux port of the Little Snitch application firewall"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
@@ -26,7 +26,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- git describe --long | sed 's/^v//;s/rc\.[0-9]*-//;s/\([^-]*-\)g/r\1/;s/-/./g'
+ git describe --long | sed 's/^v//;s/-rc./rc/;s/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {