summaryrefslogblamecommitdiff
path: root/user/upower/APKBUILD
blob: 376ca208cab6ac88a0d6e3fd12ef538e287e9f13 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
              
              
        
                                   
                                    
          

                                          

                                                     
                                                                         

                                                                                                                    
 
         






                                              

                                                     



            



                  


                                      
                                                                                                                                                                    
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=upower
pkgver=0.99.11
pkgrel=0
pkgdesc="Power Management Services"
url="https://upower.freedesktop.org"
arch="all"
options="!check"  # Requires running dbus.
license="GPL-2.0+"
depends=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
makedepends="dbus-glib-dev docbook-xsl gobject-introspection-dev gtk+-dev
	libgudev-dev libusb-dev libxslt linux-headers polkit-dev"
source="https://gitlab.freedesktop.org/upower/upower/uploads/93cfe7c8d66ed486001c4f3f55399b7a/upower-0.99.11.tar.xz"

build() {
	DATADIRNAME=share ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib/upower \
		--disable-static \
		--with-udevrulesdir=/lib/udev/rules.d
	make
}

check() {
	make check
}

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

sha512sums="67219a0beb98c97ac4512e4fe8ba83fc80a1035d1edb5367dda6911da50c672b047051f2f528e8703be29ab47547d92b6c71a7ef695226a1bdb5bc33e6d18803  upower-0.99.11.tar.xz"