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

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

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

sha512sums="
829151b99c279a01037544e8a0a2bbe3cb4c1ec90d8943b3159947d819f94e8f73a8e73db255e1151ca59278583a28448b00d6fc002bd1f8a724c1c16c44fb1b  xfce4-power-manager-4.18.4.tar.bz2
"