summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMiklós Tóth2020-11-24 00:08:04 +0000
committerMiklós Tóth2020-11-24 00:08:04 +0000
commit48ed55ae7ff9d07eb9f10cb748b951e2a5ef40bf (patch)
treef94db2307688fccabee49825fc44911d2f91c4e8 /PKGBUILD
parent972020fbd7ae0df908f1ffd2d657079a201ffdce (diff)
downloadaur-48ed55ae7ff9d07eb9f10cb748b951e2a5ef40bf.tar.gz
automatic update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e8a1fe29c55..3cc438f828b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -104,10 +104,10 @@ sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06'
'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
+if [ "$use_cachy" = "y" ]; then
+ source+=("https://github.com/xanmod/linux/releases/download/${pkgver}-xanmod${xanmod}-cachy/patch-${pkgver}-xanmod${xanmod}-cachy.xz")
+ sha256sums+=('8dc6a2bc5270b7cc784c52650bb15a3b66792f5d49ef1d49a38da19a660e1472')
+fi
export KBUILD_BUILD_HOST=${KBUILD_BUILD_HOST:-archlinux}
export KBUILD_BUILD_USER=${KBUILD_BUILD_USER:-makepkg}
@@ -117,11 +117,11 @@ prepare() {
cd linux-${_major}
# Apply Xanmod patch
-# if [ "$use_cachy" = "y" ]; then
-# patch -Np1 -i ../patch-${pkgver}-xanmod${xanmod}-cachy
-# else
+ if [ "$use_cachy" = "y" ]; then
+ patch -Np1 -i ../patch-${pkgver}-xanmod${xanmod}-cachy
+ else
patch -Np1 -i ../patch-${pkgver}-xanmod${xanmod}
-# fi
+ fi
msg2 "Setting version..."
scripts/setlocalversion --save-scmversion