[arch-commits] CVS update of extra/system/microcode_ctl (PKGBUILD)
Thomas Baechler
thomas at archlinux.org
Sun Nov 11 21:39:43 UTC 2007
Date: Sunday, November 11, 2007 @ 22:39:43
Author: thomas
Path: /home/cvs-extra/extra/system/microcode_ctl
Modified: PKGBUILD (1.1 -> 1.2)
upgpkg: microcode_ctl 1.17.20070907-1
----------+
PKGBUILD | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
Index: extra/system/microcode_ctl/PKGBUILD
diff -u extra/system/microcode_ctl/PKGBUILD:1.1 extra/system/microcode_ctl/PKGBUILD:1.2
--- extra/system/microcode_ctl/PKGBUILD:1.1 Tue Jul 10 01:10:31 2007
+++ extra/system/microcode_ctl/PKGBUILD Sun Nov 11 22:39:43 2007
@@ -1,26 +1,33 @@
-# $Id: PKGBUILD,v 1.1 2007/07/09 23:10:31 thomas Exp $
+# $Id: PKGBUILD,v 1.2 2007/11/11 21:39:43 thomas Exp $
# Contributor: Giovanni Scafora <linuxmania at gmail.com>
# Maintainer: Thomas Baechler <thomas at archlinux.org>
pkgname=microcode_ctl
-pkgver=1.17
-pkgrel=2
+# Version of the update tool
+_toolver=1.17
+# Version of the microcode image
+_microcodever=20070907
+pkgver=${_toolver}.${_microcodever}
+pkgrel=1
pkgdesc="A companion to the IA32 microcode kernel driver"
arch=('i686' 'x86_64')
url="http://www.urbanmyth.org/microcode"
license=('GPL')
install=microcode_ctl.install
#depends=('kernel26>=2.6.20')
-source=(http://www.urbanmyth.org/microcode/$pkgname-$pkgver.tar.gz
+source=(http://www.urbanmyth.org/microcode/$pkgname-${_toolver}.tar.gz
+ http://urbanmyth.org/microcode/ucode/microcode-${_microcodever}.dat.bz2
microcode
microcode.rules)
md5sums=('98a7f06acef8459c8ef2a1b0fb86a99e'
+ '3495d1f22d3b9ef080b50f493d1c31cf'
'e694f32b7e30674786100b371ab50384'
'e6f212fcb6af8c4f3464db2e9210655e')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $startdir/src/$pkgname-${_toolver}
make all || return 1
- make DESTDIR=$startdir/pkg PREFIX=/usr RCFILETO=/etc/rc.d RCFILE=../microcode RCFILEFINAL=microcode install
- install -D -m644 ../microcode.rules $startdir/pkg/etc/udev/rules.d/microcode.rules
+ make DESTDIR=$startdir/pkg PREFIX=/usr RCFILETO=/etc/rc.d RCFILE=../microcode RCFILEFINAL=microcode install || return 1
+ install -D -m644 ../microcode.rules $startdir/pkg/etc/udev/rules.d/microcode.rules || return 1
+ install -D -m644 ../microcode-${_microcodever}.dat $startdir/pkg/etc/microcode.dat
}
More information about the arch-commits
mailing list