[arch-commits] Commit in microcode_ctl/trunk (PKGBUILD)

Thomas Bächler thomas at archlinux.org
Mon Dec 6 22:11:19 UTC 2010


    Date: Monday, December 6, 2010 @ 17:11:19
  Author: thomas
Revision: 102229

Upstream microcode update

Modified:
  microcode_ctl/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-06 22:06:12 UTC (rev 102228)
+++ PKGBUILD	2010-12-06 22:11:19 UTC (rev 102229)
@@ -6,7 +6,7 @@
 # Version of the update tool
 _toolver=1.17
 # Version of the microcode image
-_microcodever=20100826
+_microcodever=20100914
 pkgver=${_toolver}.${_microcodever}
 pkgrel=1
 pkgdesc="A companion to the IA32 microcode kernel driver"
@@ -15,15 +15,25 @@
 license=('GPL')
 install=microcode.install
 source=(http://www.urbanmyth.org/microcode/$pkgname-${_toolver}.tar.gz
-        http://downloadmirror.intel.com/19299/eng/microcode-${_microcodever}.tgz
+        http://downloadmirror.intel.com/19342/eng/microcode-${_microcodever}.tgz
         microcode)
 md5sums=('98a7f06acef8459c8ef2a1b0fb86a99e'
-         '4f0922e5e0e97331fa63c085a74f80cf'
+         'c6e765670173dd6e3d9a5c72f6cd1c40'
          '483c198659b8d716bdfbf05a57182394')
 
 build() {
-  cd $startdir/src/$pkgname-${_toolver}
-  make all || return 1
-  make DESTDIR=$startdir/pkg PREFIX=/usr RCFILETO=/etc/rc.d RCFILE=../microcode RCFILEFINAL=microcode MANDIR=/usr/share/man/man8 install || return 1
-  install -D -m644 ../microcode-${_microcodever}.dat $startdir/pkg/etc/microcode.dat
+  cd "$srcdir"/$pkgname-${_toolver}
+  make all
 }
+
+package() {
+  cd "$srcdir"/$pkgname-${_toolver}
+  make DESTDIR="$pkgdir" \
+       PREFIX=/usr \
+       RCFILETO=/etc/rc.d \
+       RCFILE=../microcode \
+       RCFILEFINAL=microcode \
+       MANDIR=/usr/share/man/man8 \
+       install
+  install -D -m644 ../microcode-${_microcodever}.dat "$pkgdir"/etc/microcode.dat
+}




More information about the arch-commits mailing list