summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Gorski2019-02-23 03:11:23 +0100
committerPiotr Gorski2019-02-23 03:11:23 +0100
commit4c62a820e3a2bb5ffc0b437ca9139696583d3d33 (patch)
tree6989c58ced970114d69682de2ca0270ae2302af4
parentc743e6e5808e4761c44eef82a03a7fb71dd3d9cb (diff)
downloadaur-4c62a820e3a2bb5ffc0b437ca9139696583d3d33.tar.gz
Improve pkgver()
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8d7f3979ffa..8aa6e975bcf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = linux-next-git
- pkgver = 20190206.r0.g1a82ba1c69e3
+ pkgver = 20190222.r0.g94a47529a645
pkgrel = 1
url = http://www.kernel.org/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 8c909acc72f..2599539e497 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -50,7 +50,7 @@ _1k_HZ_ticks=
### Do not edit below this line unless you know what you're doing
pkgbase=linux-next-git
-pkgver=20190206.r0.g1a82ba1c69e3
+pkgver=20190222.r0.g94a47529a645
_srcname=linux-next
pkgrel=1
arch=('x86_64')
@@ -76,7 +76,7 @@ _kernelname=${pkgbase#linux}
pkgver() {
cd "${_srcname}"
- git describe --long --tags | sed -E 's/next.//;s/([^-]*-g)/r\1/;s/-/./g;s/\.rc/rc/'
+ git describe --long --tags | sed 's/next.//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {