diff options
author | vagnum08 | 2018-03-10 22:16:17 +0000 |
---|---|---|
committer | vagnum08 | 2018-03-10 22:16:17 +0000 |
commit | 8146cc0c1b69a00452bcdc714d8c18ea3a5dbd96 (patch) | |
tree | db02dce5b8966f324dcfa34eaa32dfae9c815537 | |
download | aur-8146cc0c1b69a00452bcdc714d8c18ea3a5dbd96.tar.gz |
Initial import. Version 0.6.2
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0113fc5243ec --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = cpupower-gui + pkgdesc = A GUI utility to set CPU frequency limits + pkgver = 0.6.2 + pkgrel = 1 + url = https://gitlab.com/vagnum08/cpupower-gui + arch = any + license = GPL + makedepends = git + makedepends = autoconf-archive + depends = python + depends = gtk3 + depends = hicolor-icon-theme + depends = polkit + depends = python-dbus + optdepends = polkit-gnome: needed for authentification in Cinnamon, Gnome + optdepends = lxsession: needed for authentification in Xfce, LXDE etc. + provides = cpupower-gui + conflicts = cpupower-gui + source = cpupower-gui_0.6.2.orig.tar.xz::https://gitlab.com/vagnum08/cpupower-gui/uploads/211f0fdb09c1e3fed1a2465484137d0d/cpupower-gui-0.6.2.tar.xz + sha256sums = b4a852415f60002415692ff202e682d323664cbf424c426add3d3ce068ac0243 + +pkgname = cpupower-gui + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c64e6f1c6936 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |