summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-11-03 12:40:09 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-11-03 12:40:09 -0800
commit53b118ece80433500f17bb2ba9789325be965315 (patch)
treec35b4a844222838a590b890c5f6973f3465f6935 /PKGBUILD
parentscheduling fixes (diff)
downloadlinux-53b118ece80433500f17bb2ba9789325be965315.tar.xz
Restore _supver as the percent hacks fall apart when _minver == 0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7232b09..9932785 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,13 +11,14 @@
# Arch version uses git
pkgbase=linux
-_majver=5.3
+_supver=5
+_majver=3
_minver=8
_gccpatchver='20190822'
if [ "$_minver" == "0" ]; then
- pkgver=${_majver}
+ pkgver=${_supver}.${_majver}
else
- pkgver=${_majver}.${_minver}
+ pkgver=${_supver}.${_majver}.${_minver}
fi
pkgrel=1
url='https://kernel.org'
@@ -31,7 +32,7 @@ conflicts=('linux-libre')
options=('!strip')
_srcname=linux-${pkgver}
source=(
- https://www.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
+ https://www.kernel.org/pub/linux/kernel/v${_supver}.${_majver}.x/${_srcname}.tar.{xz,sign}
0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-CLONE_NEWUSER.patch
0002-Bluetooth-hidp-Fix-assumptions-on-the-return-value-of-hidp_send_message.patch
graysky_bdver2-hotfix.patch
@@ -53,7 +54,7 @@ sha256sums=('78f3cfc6c20b10ff21c0bb22d7d257cab03781c44d8c5aae289f749f94f76649'
'8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5'
'e7ebf050c22bcec0028c0b3c79fd6d3913b0370ecc6a23dfe78ce475630cf503'
'0f81d6e4158b7beeb0eb514f1b9401f7e23699cb0f7b0d513e25dae1815daaeb'
- 'aa5db02d8faf9377262c1871d9f0b50130f10b6ad3f40665fb1d9d0b0f6d08a7')
+ '991afd872e6596d442280336042951f04b74dfd48b80b06933ee984a79f98efa')
#export KBUILD_BUILD_HOST=arc4linux
export KBUILD_BUILD_USER=$pkgbase
@@ -65,7 +66,7 @@ prepare() {
# add upstream patch
# if [ "$_minver" != "0" ]; then
# msg2 "Applying upstream patch"
-# patch -Np1 < ../patch-${_majver}-${_pkgver}
+# patch -Np1 < ../patch-${_supver}.${_majver}-${pkgver}
# fi