summaryrefslogtreecommitdiff
path: root/user/xfce4-power-manager/APKBUILD
blob: dd6dab858faddb41a37fde23d2719722676d2efd (plain) (blame)
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
38
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xfce4-power-manager
pkgver=1.6.2
pkgrel=0
pkgdesc="Power management support for the XFCE desktop environment"
url="https://xfce.org"
arch="all"
license="GPL-2.0+"
makedepends="intltool gtk+3.0-dev libxfce4ui-dev libice-dev libnotify-dev
	upower-dev xfce4-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
langdir="/usr/lib/locale"
source="http://archive.xfce.org/src/xfce/xfce4-power-manager/1.6/xfce4-power-manager-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

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