summaryrefslogblamecommitdiff
path: root/user/xfce4-power-manager/APKBUILD
blob: 0d7f38a38d2cc1ca3b31db54222069d3d42b4b50 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                           
            
        






                                                                         
                                                                                                      

         
                                   









                                         



                  


                                      
                                                                                                                                                                                
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xfce4-power-manager
pkgver=1.6.5
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"
source="https://archive.xfce.org/src/xfce/xfce4-power-manager/1.6/xfce4-power-manager-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="ebcf9ba7431518fdafa74f49511200e16093c34f78516e823a2f7ac02a085a08377efe5f9c6fe285f3d1e2de253789404e01b34a48e3f5ff23c2c143b2801207  xfce4-power-manager-1.6.5.tar.bz2"