summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 43e7e25adfe311b4e3c90cf9b4c743a43526c688 (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
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot 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
}
# vim:set ts=2 sw=2 et: