summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c64e6f1c693691310ea82386bae04bae2acc83de (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
# Maintainer: vagnum08 <vagnum08@gmail.com>

pkgname=cpupower-gui
pkgver=0.6.2
pkgrel=1
pkgdesc="A GUI utility to set CPU frequency limits"
arch=(any)
url="https://gitlab.com/vagnum08/cpupower-gui"
license=('GPL')
depends=('python' 'gtk3' 'hicolor-icon-theme' 'polkit' 'python-dbus' )
optdepends=('polkit-gnome: needed for authentification in Cinnamon, Gnome'
                      'lxsession: needed for authentification in Xfce, LXDE etc.')
makedepends=('git' 'autoconf-archive')
provides=("${pkgname}")
conflicts=("${pkgname}")
_upload_id=211f0fdb09c1e3fed1a2465484137d0d
source=("${pkgname}_${pkgver}.orig.tar.xz"::"https://gitlab.com/vagnum08/cpupower-gui/uploads/${_upload_id}/${pkgname}-${pkgver}.tar.xz")

sha256sums=('b4a852415f60002415692ff202e682d323664cbf424c426add3d3ce068ac0243')

build() {
	cd "$srcdir/${pkgname}-${pkgver}"
	./configure --prefix=/usr
	make
}

check() {
	cd "$srcdir/${pkgname}-${pkgver}"
	make -k check
}

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