summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Orth2019-11-11 14:14:15 +0200
committerAlan Orth2019-11-11 14:14:15 +0200
commit1a5242a3621805e20c61ee732c6d385e04401262 (patch)
tree993c31597c2abf382149f1ef9a95d2fb2b771f80
parent1cc7fee1c1405b4f9f42ee5b69435ee9b0e04fbf (diff)
downloadaur-1a5242a3621805e20c61ee732c6d385e04401262.tar.gz
Fix bug with Clear version variable
This resulted in a kernel version like 5.3.9.839-839.native.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index daed05256bb2..c32a540a6f74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-clear-bin
pkgdesc = Clear Linux kernel and modules in binary
pkgver = 5.3.9.863
- pkgrel = 1
+ pkgrel = 2
epoch = 0
url = https://clearlinux.org/node/15538
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a62ed1b70d9b..a269da06204f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _major=5.3
_minor=9
_clr=863
pkgver=${_major}.${_minor}.${_clr}
-pkgrel=1
+pkgrel=2
# use in case we need to update the Arch package without incrementing pkgrel
epoch=0
arch=('x86_64')
@@ -25,7 +25,7 @@ options=('!strip')
# see: https://cdn.download.clearlinux.org/current/latest
_clear_version=31530
-_kernel_version="${pkgver}-${_clr}.native"
+_kernel_version="${_major}.${_minor}-${_clr}.native"
source=("https://cdn.download.clearlinux.org/update/${_clear_version}/Manifest.kernel-native"
"https://cdn.download.clearlinux.org/update/${_clear_version}/pack-kernel-native-from-0.tar"