updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / x86info / PKGBUILD
blob87b3231dde8397a3703025184c43f85b6dc2b016
1 # Contributor: Jakub Luzny <limoto94@gmail.com>
2 pkgname=x86info
3 pkgver=1.30
4 pkgrel=1
5 pkgdesc='A CPU identification utility. Provides more info than /proc/cpuinfo.'
6 arch=(i686 x86_64)
7 url="http://www.codemonkey.org.uk/projects/x86info/"
8 license=('GPL')
9 install=x86info.install
10 source=(http://www.codemonkey.org.uk/projects/${pkgname}/${pkgname}-${pkgver}.tgz)
11 md5sums=('8e49b5e08e82fe6b64cac99d50139ccf')
13 build() {
14         cd "${srcdir}/${pkgname}-${pkgver}"
15         
16         sed 's|python|python2|g' -i Makefile
17         
18         make
21 package() {
22         cd "${srcdir}/${pkgname}-${pkgver}"
23         
24         gzip -9 -f x86info.1 lsmsr.8
25         
26         mkdir -p "${pkgdir}/usr/bin"
27         install -Dm 775 x86info lsmsr "${pkgdir}/usr/bin/"
28         install -Dm 644 x86info.1.gz "${pkgdir}/usr/share/man/man1/x86info.1.gz"
29         install -Dm 644 lsmsr.8.gz "${pkgdir}/usr/share/man/man8/lsmsr.8.gz"
32 #category: system
33 # vim:set ts=2 sw=2 et: