diff options
author | Scott B | 2021-12-08 05:44:52 -0800 |
---|---|---|
committer | Scott B | 2021-12-08 07:36:41 -0800 |
commit | a46000a933d5c40677f6c197f07e789a2f83db40 (patch) | |
tree | 98545aa61a698c4ae7097deab936f2cbc118dc83 | |
parent | 614912757fa5c32272170cdba9c8ae2e41837022 (diff) | |
download | aur-a46000a933d5c40677f6c197f07e789a2f83db40.tar.gz |
pkgbuild: handle xz patches
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -199,20 +199,20 @@ prepare() { src="${src%%::*}" src="${src##*/}" case "$src" in - patch-${_major}*xanmod*xz) + patch-${_major}*xanmod*.xz) # Apply Xanmod patch msg2 "Applying Xanmod patch..." patch -Np1 -i "../${src%\.xz}" ;; - patch-${_major}*xz) + patch-${_major}*xz|Linux-${_major}*.xz) # Apply kernel.org point releases if we're building ahead of Xanmod official msg2 "Applying kernel.org point release ${src%\.xz} ..." patch -Np1 -i "../${src%\.xz}" ;; - *patch|*diff) + *.patch|*.patch.xz|*.diff|*.diff.xz) # Apply any other patches - msg2 "Applying patch $src..." - patch -Np1 < "../$src" + msg2 "Applying patch ${src%\.xz} ..." + patch -Np1 -i "../${src%\.xz}" ;; esac done |