blob: 82ec5d12049cfd5cbb050ba5aa4a83c299b8a986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
pkgname=intel-ucode
pkgver=20130222
pkgrel=0
pkgdesc="Microcode update files for Intel CPUs"
arch=noarch
url="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22"
license='custom'
source="http://downloadmirror.intel.com/22508/eng/microcode-${pkgver}.tgz
LICENSE
intel-microcode2ucode.c"
build() {
cd "$srcdir"
gcc -Wall ${CFLAGS} -o intel-microcode2ucode \
intel-microcode2ucode.c || return 1
./intel-microcode2ucode ./microcode.dat || return 1
}
package() {
cd "$srcdir"
install -d -m755 "${pkgdir}"/usr/lib/firmware/intel-ucode/ || return 1
cp intel-ucode/* "${pkgdir}"/usr/lib/firmware/intel-ucode/ || return 1
install -D -m644 LICENSE \
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1
}
md5sums="e2dd0f73dc9882aa26aaade76139aee1 microcode-20130222.tgz
b0f489ae4b3e36dc8827dc53a76047aa LICENSE
0efc5f6c74a4d7e61ca22683c93c98cf intel-microcode2ucode.c"
sha256sums="fd25bd9777fc3c3b11f01e9090a2d24f7650023c9ec74bbf9f43bffe1d9d01cc microcode-20130222.tgz
6983e83ec10c6467fb9101ea496e0443f0574c805907155118e2c9f0bbea97b6 LICENSE
c51b1b1d8b4b28e7d5d007917c1e444af1a2ff04a9408aa9067c0e57d70164de intel-microcode2ucode.c"
sha512sums="7ba41a8e0f79beeb046750e30b6a9a181ed53a524f80db78cb9fe3e09bb9fdce664bf5a99882aa139d12e3a98aa5ecae316c950003bab3c69d890a5f223308f0 microcode-20130222.tgz
d80ce9087e2ffd0168600a34de195d6514d3a496bc233294cd838498e1ce668b9ad4463bbbe7958feec0421b5aed3ade1633432ce086241e03ed06bbd53b83a5 LICENSE
0e29f995dee47707026cfb6224580c2166d000e91af7b1afe12f00158be8606093d07cdbc0d583a0af79370cf1d9c16b5f35a306bae7f545a5c774ea253509b7 intel-microcode2ucode.c"
|