summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0aaac12abc6..c4df2834f69 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = low-memory-monitor-git
pkgdesc = Early boot daemon monitoring memory pressure information and invokes OOM if needed
- pkgver = r79.5e06b3b
+ pkgver = 2.0.r16.g5e06b3b
pkgrel = 1
url = https://gitlab.freedesktop.org/hadess/low-memory-monitor
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 7e7966616c8..c664212bdbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Frederik “Freso” S. Olesen <archlinux@freso.dk>
_pkgname=low-memory-monitor
pkgname=${_pkgname}-git
-pkgver=r79.5e06b3b
+pkgver=2.0.r16.g5e06b3b
pkgrel=1
pkgdesc='Early boot daemon monitoring memory pressure information and invokes OOM if needed'
arch=('x86_64')
@@ -16,7 +16,7 @@ sha512sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {