aboutsummaryrefslogblamecommitdiffstats
path: root/non-free/amd-ucode/APKBUILD
blob: cede1a84657e59994c152ad822a3f647ef1e5529 (plain) (tree)





















                                                                                                                                                                          
pkgname=amd-ucode
_realver=2012-09-10
pkgver=${_realver//-/\.}
pkgrel=0
pkgdesc="Microcode update files for AMD family 10h, 11h, 14h and 15h CPUs"
arch='noarch'
license='custom'
url="http://www.amd64.org/support/microcode.html"
source="http://dev.alpinelinux.org/archive/amd-ucode/amd-ucode-${_realver}.tar.xz"

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
}
md5sums="4ec4efcd6a2f249dc9bb4fb3f1361610  amd-ucode-2012-09-10.tar.xz"
sha256sums="ab4d8d1638d88c3ffd747b6d7f366676a817b4c11c8f4b0235b2d2125ca4836d  amd-ucode-2012-09-10.tar.xz"
sha512sums="5ff4a6cf02b4221bf08df34409cbfb93c56d8995647ecfcb7808e108b7968e231b87a28a96131db3c25ae44bcda5a4102565b84db48b39a29849b6e33ad80fd6  amd-ucode-2012-09-10.tar.xz"