summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e9e8c65bd444e41317ac4bb864e9601eca7b8007 (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
# Maintainer: Artur Paiva <dr.hoome@gmail.com>
pkgname='cpuface-git'
pkgver=1496920823
pkgrel=1
pkgdesc="A simple CPU Governor and Monitor for Unix Systems written in Python and Qt"
arch=('i686' 'x86_64')
url="https://github.com/h0m3/cpuface"
license=('GPL3')
groups=()
depends=('python>=3.0.0' 'python-pyqt5>=5.8.0' 'pyqt5-common>=5.8.0')
optdepends=('intel-ucode: support for intel pstate')
makedepends=('git')
provides=("${pkgname%-VCS}")
conflicts=("${pkgname%-VCS}")
replaces=()
backup=()
options=()
install=
source=('cpuface-git::git+https://github.com/h0m3/cpuface')
noextract=()
md5sums=('SKIP')

# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.

pkgver() {
	cd "$srcdir/${pkgname%-VCS}"
	printf "%s" "$(git show -s --format=%ct)"
}

build() {
	cd "$srcdir/${pkgname%-VCS}"
	make
}

package() {
	cd "$srcdir/${pkgname%-VCS}"
	make DESTDIR="$pkgdir" install
}