blob: e1a6f45348e23fe2b6fd10c66e75573e634cd91a (
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
|
# Maintainer: X0rg
_realname=CPU-X
pkgname=cpu-x
pkgver=3.2.1
pkgrel=1
pkgdesc="A Free software that gathers information on CPU, motherboard and more"
arch=('i686' 'x86_64')
url="http://X0rg.github.io/CPU-X/"
license=('GPL3')
depends=('gtk3' 'ncurses' 'curl' 'libcpuid-git' 'pciutils' 'procps-ng')
makedepends=('cmake' 'nasm')
source=("$pkgname-$pkgver.tar.gz::https://github.com/X0rg/CPU-X/archive/v$pkgver.tar.gz")
md5sums=('92f003bdb557a140f717ba6836cfdec8')
prepare() {
msg2 "Make 'build' directory..."
mkdir -pv "$srcdir/$_realname-$pkgver/build"
}
build() {
cd "$srcdir/$_realname-$pkgver/build"
msg2 "Run 'cmake'..."
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
msg2 "Run 'make'..."
make
}
package() {
cd "$srcdir/$_realname-$pkgver/build"
msg2 "Install..."
make DESTDIR="$pkgdir" install
}
|