diff options
author | Miklós Tóth | 2020-11-13 12:08:50 +0000 |
---|---|---|
committer | Miklós Tóth | 2020-11-13 12:08:50 +0000 |
commit | 78c5dcb32639aeeef2859bdeec371646ef0a4d7c (patch) | |
tree | 9c6c01ecb684af8000c2bf1b909af26c237a51bd /PKGBUILD | |
parent | cf2462e8177cde33923ee3b988d79f77d1316872 (diff) | |
download | aur-78c5dcb32639aeeef2859bdeec371646ef0a4d7c.tar.gz |
automatic update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -97,7 +97,6 @@ _commits="" for _patch in $_commits; do source+=("${_patch}.patch::https://git.archlinux.org/linux.git/patch/?id=${_patch}") done - sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06' 'SKIP' @@ -105,6 +104,12 @@ sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06' '2c7369218e81dee86f8ac15bda741b9bb34fa9cefcb087760242277a8207d511' '6c66dba73251440352f93ff32b72f5dd49536d0f17ef9347867660fd3a626991') +# If use_cachy=y then download cachy patch +if [ "$use_cachy" = "y" ]; then + source+=("https://github.com/xanmod/linux/releases/download/${pkgver}-xanmod${xanmod}-cachy/patch-${pkgver}-xanmod${xanmod}-cachy.xz") + sha256sums+=('66b05c60d91d444a35d2ce1ceb46e3325197c05911767049aac68e7e6d31185f') +fi + export KBUILD_BUILD_HOST=${KBUILD_BUILD_HOST:-archlinux} export KBUILD_BUILD_USER=${KBUILD_BUILD_USER:-makepkg} export KBUILD_BUILD_TIMESTAMP=${KBUILD_BUILD_TIMESTAMP:-$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})} @@ -113,7 +118,11 @@ prepare() { cd linux-${_major} # Apply Xanmod patch - patch -Np1 -i ../patch-${pkgver}-xanmod${xanmod} + if [ "$use_cachy" = "y" ]; then + patch -Np1 -i ../patch-${pkgver}-xanmod${xanmod}-cachy + else + patch -Np1 -i ../patch-${pkgver}-xanmod${xanmod} + fi msg2 "Setting version..." scripts/setlocalversion --save-scmversion |