diff --git a/srcpkgs/amd-ucode/template b/srcpkgs/amd-ucode/template new file mode 100644 index 00000000000..55c383ac833 --- /dev/null +++ b/srcpkgs/amd-ucode/template @@ -0,0 +1,20 @@ +# Template file for 'amd-ucode' +pkgname=amd-ucode +_distver=2011-01-11 +version=$(echo ${_distver}|sed 's|-|.|g') +wrksrc=${pkgname}-${_distver} +distfiles="http://www.amd64.org/pub/microcode/amd-ucode-${_distver}.tar" +short_desc="Microcode update files for AMD family 10h, 11h, and 14h CPUs" +maintainer="Juan RP " +license="${pkgname}" +checksum=60c42629f3c91f97a350bc6a3ad0a256f7b794bfab1f143d7f1924a70728f4ec +long_desc=" + This package contains the microcode updates for AMD family 10h, 11h and + 14h CPUs for use with the microcode linux kernel module." + +noarch=yes + +do_install() { + vinstall microcode_amd.bin 644 lib/firmware/amd-ucode + vinstall LICENSE 644 usr/share/licenses/${pkgname} +}