22 lines
841 B
Bash
22 lines
841 B
Bash
# Template file for 'intel-ucode'
|
|
pkgname=intel-ucode
|
|
version=20191112
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
wrksrc="Intel-Linux-Processor-Microcode-Data-Files-microcode-${version}"
|
|
short_desc="Microcode update files for Intel CPUs"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="custom: Proprietary"
|
|
homepage="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files"
|
|
distfiles="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-${version}.tar.gz"
|
|
checksum=0000f7cf96f2b07a1ba9d1fc0bcfcb49d0edb91f7d487a57a88c147e57c5873b
|
|
repository=nonfree
|
|
|
|
do_install() {
|
|
vmkdir usr/lib/firmware/intel-ucode
|
|
vcopy "intel-ucode/*" usr/lib/firmware/intel-ucode
|
|
vmkdir usr/lib/dracut/dracut.conf.d
|
|
echo "early_microcode=yes" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/intel_ucode.conf
|
|
vlicense license
|
|
}
|