A new user interface for you! Read more...

File PKGBUILD of Package cpu-x

# Maintainer: X0rg

_realname=CPU-X
pkgname=cpu-x
pkgver=3.2.4
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' 'json-c' 'libcpuid-git' 'pciutils' 'procps-ng')
makedepends=('cmake' 'nasm')
source=("CPU-X.tar.gz")
md5sums=('SKIP')

prepare() {
	msg2 "Make 'build' directory..."
	mkdir -pv "$srcdir/$_realname/build"
}

build() {
	cd "$srcdir/$_realname/build"
	msg2 "Run 'cmake'..."
	cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..

	msg2 "Run 'make'..."
	make
}

package() {
	cd "$srcdir/$_realname/build"
	msg2 "Install..."
	make DESTDIR="$pkgdir" install
}