1 # Maintainer: Thomas Bächler <thomas@archlinux.org>
6 pkgdesc='Microcode update files for Intel CPUs'
8 url='https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files'
9 replaces=('microcode_ctl')
10 makedepends=('iucode-tool')
12 source=("${pkgname}-${pkgver/./}.tar.gz::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-${pkgver/./}.tar.gz")
13 sha256sums=('ad8cbc5a273f4640003f6a3f1b129ac6a046f3498ce037921ebac1adf267e55d')
16 cd Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}
18 rm -f intel-ucode{,-with-caveats}/list
19 mkdir -p kernel/x86/microcode
20 iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/
24 cd Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}
26 install -D -m0644 intel-ucode.img "${pkgdir}"/boot/intel-ucode.img
27 install -D -m0644 license "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE