aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-power-manager/APKBUILD
blob: 81bb97483ef653147b3c5ff6b3aeb095f3e0e650 (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
# 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.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="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"


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="0d1aee648d4fbd1543dc65abf97eb9c7da7d5eb39d034ea9c99a6e9c2144854f6fcd12d5581d1bf1a31afb308f0ff34d4f6888a766c1eb7d0f1d63765a73e02d  xfce4-power-manager-1.6.4.tar.bz2"