summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3212b04d7d1969430bf5ef5bff561191eacfed6f (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
# Maintainer: Dimitris Kiziridis <ragouel@outlook.com>

pkgname=powerkit
pkgver=1.0.0
pkgrel=1
pkgdesc="Powerkit is a Lightweight Desktop Independent full featured power manager."
arch=('x86_64')
url="https://github.com/rodlie/powerkit"
license=('BSD 3-Clause')
depends=('xscreensaver' 'upower')
makedepends=('xss' 'xorg-xrandr' 'qt5-base')
optdepends=('adwaita-icon-theme')
provides=('powerkit')
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
md5sums=('e5a613f2219c0491d1bdae1fa1afe4d5')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	mkdir build
	cd "$srcdir/$pkgname-$pkgver/build"
	qmake PREFIX="/usr" CONFIG+=install_udev_rules CONFIG+=bundle_icons ..
	make 
}

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