Date: Tuesday, May 16, 2023 @ 19:11:58
Author: eworm
Revision: 477959
archrelease: copy trunk to testing-any
Added:
intel-ucode/repos/testing-any/
intel-ucode/repos/testing-any/PKGBUILD
(from rev 477958, intel-ucode/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: intel-ucode/repos/testing-any/PKGBUILD (from rev 477958,
intel-ucode/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2023-05-16 19:11:58 UTC (rev 477959)
@@ -0,0 +1,28 @@
+# Maintainer: Thomas Bächler <[email protected]>
+
+pkgname=intel-ucode
+pkgver=20230516
+pkgrel=1
+pkgdesc='Microcode update files for Intel CPUs'
+arch=('any')
+url='https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files'
+replaces=('microcode_ctl')
+makedepends=('iucode-tool')
+license=('custom')
+source=("${pkgname}-${pkgver/./}.tar.gz::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-${pkgver/./}.tar.gz")
+sha256sums=('ad8cbc5a273f4640003f6a3f1b129ac6a046f3498ce037921ebac1adf267e55d')
+
+build() {
+ cd Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}
+
+ rm -f intel-ucode{,-with-caveats}/list
+ mkdir -p kernel/x86/microcode
+ iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/
+}
+
+package() {
+ cd Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}
+
+ install -D -m0644 intel-ucode.img "${pkgdir}"/boot/intel-ucode.img
+ install -D -m0644 license "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}