# Template file for 'intel-ucode' pkgname=intel-ucode version=20220510 revision=1 archs="i686* x86_64*" wrksrc="Intel-Linux-Processor-Microcode-Data-Files-microcode-${version}" short_desc="Microcode update files for Intel CPUs" maintainer="Andrew J. Hesford " license="custom: Proprietary" homepage="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files" distfiles="${homepage}/archive/microcode-${version}.tar.gz" checksum=254ddc71b598fbb8dbb200ceb3af29aeb22f6bf50bc609e8f953cf9c8d286d2a 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 }