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=('3a3cfe2c7642339af9f4c2ad69f5f367dfa4cd1f7f9fd4124dedefb7803591d4')
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