summaryrefslogtreecommitdiff
path: root/extra/linux-zen/PKGBUILD
blob: adde26e5d674560f9b5fd4f2c349aed9240a1518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# upstream git revision: c84e8f5404cc9aed3fb24dfaaa0bac03c59a9b08

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = '98a65f452d4bce9690d29dd318c46ac7eda63699fde3e09d8959797b811d9942' ]; then
    sha256sums[${i}]='010b73eb4ede60d16bc5f1471fa076f9d5639fa15d62073bf4ed075064b9c4a4'
  fi
done

eval "$(
  declare -f package_linux-zen-headers | \
    sed '
      \,/tools/objtool" ,d
    '
)"