summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d0b3ff92ee3..a1f484fecd7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=linux-hardened-git
_srcname=${pkgbase/-git/}
-_gitbranch=5.11
-pkgver=5.11.0..r984327.g40d51f73a216
+_gitbranch=5.14
+pkgver=5.14.r1031552.ge3bb405d9143
pkgrel=1
pkgdesc='Security-Hardened Linux'
url='https://github.com/anthraxx/linux-hardened'
@@ -29,7 +29,7 @@ validpgpkeys=(
'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak
)
sha256sums=('SKIP'
- '1adb60a0bc438005047b7cd4fb6197891414afb07b2ac5ea2d837b0c48e66ecf'
+ 'ba850f32774735429f3ba44f914e8f7574cd4ca676542bd1b27c021013ec1e56'
'52fc0fcd806f34e774e36570b2a739dbdf337f7ff679b1c1139bee54d03301eb')
export KBUILD_BUILD_HOST=archlinux
@@ -38,11 +38,11 @@ export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EP
pkgver() {
cd $_srcname
- printf "%s.%s.%s.%s.r%s.g%s" \
+ printf "%s.%s%s%s.r%s.g%s" \
"$(grep '^VERSION = ' Makefile|awk -F' = ' '{print $2}')" \
"$(grep '^PATCHLEVEL = ' Makefile|awk -F' = ' '{print $2}')" \
- "$(grep '^SUBLEVEL = ' Makefile|awk -F' = ' '{print $2}')" \
- "$(grep '^EXTRAVERSION = ' Makefile|awk -F' = ' '{print $2}'|sed 's/-//')" \
+ "$(grep '^SUBLEVEL = ' Makefile|awk -F' = ' '{print $2}'|grep -vE '^0$'|sed 's/.*/.\0/')" \
+ "$(grep '^EXTRAVERSION = ' Makefile|awk -F' = ' '{print $2}'|tr -d -)" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}