blob: 5a447069bf404732b6d691c3e4c2cf2d4be5b254 (
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
35
36
37
38
39
40
41
42
43
44
|
#
# PKGBUILD: cpuid
#
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
# Past Maintainer: Jianing Yang <jianingy.yang @gmail.com>
# Contributor: David Zaragoza <david@zaragoza.com.ve>
pkgname=cpuid
pkgver=20240409
pkgrel=1
pkgdesc="Linux tool to dump x86 CPUID information about the CPU(s)"
url="http://www.etallen.com/cpuid.html"
license=('GPL-2.0-only')
arch=('i686' 'x86_64')
makedepends=('perl')
depends=('glibc' 'perl')
conflicts=('msr-tools') # extra/msr-tools seems to have /usr/bin/cpuid
groups=('system')
source=("http://www.etallen.com/$pkgname/${pkgname}-${pkgver}.src.tar.gz")
sha256sums=('5812909464e9ed13f58da2b2b8d158129e833e6696edd47012b6b361c8ccbd5d')
#
#
#
build()
{
cd "${srcdir}/${pkgname}-${pkgver}" || exit 1
# pod2man: /usr/bin/core_perl/ is not always in path - minimize error reports by setting PATH
PATH=${PATH}:/usr/bin/core_perl/
make || exit 1
}
#
#
#
package()
{
cd "${srcdir}/${pkgname}-${pkgver}" || exit 1
make BUILDROOT=${pkgdir} install || exit 1
}
#
# EOF
#
|