updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / amd-ucode / PKGBUILD
blob5cd05ca92f619b186572fc93c10fa9cc0bfab7da
1 # Maintainer: Alexander Duscheleit <jinks@archlinux.us>
2 # Based on flameeyes' instructions and ebuild (http://blog.flameeyes.eu/2011/01/17/microupdates-for-microcodes)
3 pkgname=amd-ucode
4 pkgver=2011.01.11
5 _pkgver=${pkgver//./-}
6 pkgrel=2
7 pkgdesc="AMD Family 10h, 11h and 14h microcode patch data"
8 arch=('any')
9 url="http://www.amd64.org/support/microcode.html"
10 license=('custom')
11 depends=('linux')
12 install=amd-ucode.install
13 source=(http://www.amd64.org/pub/microcode/$pkgname-$_pkgver.tar)
14 sha256sums=('60c42629f3c91f97a350bc6a3ad0a256f7b794bfab1f143d7f1924a70728f4ec')
16 package() {
17   cd "$srcdir/$pkgname-$_pkgver"
19   install -D -m644 microcode_amd.bin "$pkgdir/lib/firmware/amd-ucode/microcode_amd.bin"
20   install -D -m644 README "$pkgdir/usr/share/licenses/amd-ucode/LICENSE"
23 # vim:set ts=2 sw=2 et: