aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-power-manager/APKBUILD
blob: 9f7110ac22712d01c063b11507f46350cbeff90e (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
36
37
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-power-manager
pkgver=1.6.2
pkgrel=0
pkgdesc="Power management for the Xfce desktop environment"
url="http://goodies.xfce.org/projects/applications/xfce4-power-manager"
arch="all"
license="GPL-2.0-or-later"
depends="polkit"
makedepends="xfconf-dev xfce4-panel-dev dbus-glib-dev libnotify-dev
	libxrandr-dev libxfce4ui-dev upower-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/apps/xfce4-power-manager/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="d1c475ad3cf194c19a2ad1decc4c80a9f504d74b64dec71887c14c576cd5a2932799cd0068f6356a15590fa67c6d0434401ad36b7a2fa6a3b62d51290cd7b68c  xfce4-power-manager-1.6.2.tar.bz2"