4.10.3-2: add gtktreeviewmodel fixes
[arch-packages.git] / intel-ucode / repos / extra-any / PKGBUILD
blob335cbae03cdc843c33bb5e067602265f911e296f
1 # Maintainer: Thomas Bächler <thomas@archlinux.org>
3 pkgname=intel-ucode
4 pkgver=20230214
5 pkgrel=1
6 pkgdesc='Microcode update files for Intel CPUs'
7 arch=('any')
8 url='https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files'
9 replaces=('microcode_ctl')
10 makedepends=('iucode-tool')
11 license=('custom')
12 source=("${pkgname}-${pkgver/./}.tar.gz::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-${pkgver/./}.tar.gz")
13 sha256sums=('3a3cfe2c7642339af9f4c2ad69f5f367dfa4cd1f7f9fd4124dedefb7803591d4')
15 build() {
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}/
23 package() {
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