setvar pkgname = 'amd-ucode' setvar _realver = '2012-09-10' setvar pkgver = ${_realver//-/\.} setvar pkgrel = '0' setvar pkgdesc = ""Microcode update files for AMD family 10h, 11h, 14h and 15h CPUs"" setvar arch = ''noarch'' setvar license = ''custom'' setvar url = ""http://www.amd64.org/support/microcode.html"" setvar source = ""http://dev.alpinelinux.org/archive/amd-ucode/amd-ucode-${_realver}.tar.xz"" proc package { cd "${srcdir}"/${pkgname}-${_realver} install -D -m644 microcode_amd.bin \ "${pkgdir}"/usr/lib/firmware/amd-ucode/microcode_amd.bin || return 1 install -D -m644 microcode_amd_fam15h.bin \ "${pkgdir}"/usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin || return 1 install -D -m644 LICENSE \ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1 } setvar md5sums = ""4ec4efcd6a2f249dc9bb4fb3f1361610 amd-ucode-2012-09-10.tar.xz"" setvar sha256sums = ""ab4d8d1638d88c3ffd747b6d7f366676a817b4c11c8f4b0235b2d2125ca4836d amd-ucode-2012-09-10.tar.xz"" setvar sha512sums = ""5ff4a6cf02b4221bf08df34409cbfb93c56d8995647ecfcb7808e108b7968e231b87a28a96131db3c25ae44bcda5a4102565b84db48b39a29849b6e33ad80fd6 amd-ucode-2012-09-10.tar.xz""