blob: 603d46f5bf1b869b515b418b6e5d849f8360faab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Contributor: Jake Mannens <jakem_5@hotmail.com>
pkgname=powertool
pkgver=0.2
pkgrel=1
pkgdesc="A simple power management script"
arch=('any')
url="https://gitlab.com/plasmicplexus/powertool"
license=('GPL3')
install=$pkgname.install
depends=('sudo')
optdepends=('brightnessctl: brightness control'
'cpupower: CPU frequency control'
'networkmanager: WiFi control'
'tpacpi-bat: battery charge thresholds')
source=("https://gitlab.com/plasmicplexus/powertool/-/archive/$pkgver/powertool-$pkgver.tar.gz")
md5sums=('aa62793fa3e16bd429cc65033c1a6d2d')
package() {
cd "$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
# vim: ts=4 sts=4 sw=4 et
|