summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 30a4c1eebd6..a2345b21f31 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nohang-git
pkgdesc = A highly configurable OOM preventer
pkgver = r83ac238
- pkgrel = 2
+ pkgrel = 1
url = https://github.com/hakavlad/nohang
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 7c514a5f10a..346babe250d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_pkgname=nohang
pkgname=${_pkgname}-git
-pkgver=r83ac238
-pkgrel=2
+pkgver=r150.g83ac238
+pkgrel=1
pkgdesc="A highly configurable OOM preventer"
arch=('any')
url="https://github.com/hakavlad/nohang"
@@ -27,7 +27,7 @@ pkgver() {
cd "${srcdir}/${pkgname}" || exit 2
set -o pipefail
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || \
- git describe --long --always | sed 's/^/r/'
+ echo "r$(git log --oneline | wc -l).$(git describe --always | sed 's/^/g/')"
}
package() {