blob: f5c5c84d7ad12d8d266c0c72c25daa3c606c5afc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=amd-ucode
_realver=2012-09-10
pkgver=${_realver//-/\.}
pkgrel=1
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="https://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"
|