summaryrefslogblamecommitdiff
path: root/user/xfce4-power-manager/APKBUILD
blob: 0592f060efb8353539f8aa073672ca3b1426551a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         
                           
            
        


                                                                   
          

                                                                         
                                                                                                      
         
                                   








                                         


                  

                                      
                                                                                                                                                                                
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=xfce4-power-manager
pkgver=1.6.6
pkgrel=0
pkgdesc="Power management support for the XFCE desktop environment"
url="https://xfce.org"
arch="all"
license="GPL-2.0+"
depends=""
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="c9377619df9ebab64ed234659e5798f47448e26fae5b19eb15bcbc9416df1afec6b4de32bc272b81531d2643a215ea46892523077017dc6b232bfe802dba6cd9  xfce4-power-manager-1.6.6.tar.bz2"