mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Adding upower 0.9.7-1
This commit is contained in:
parent
85ab8e44be
commit
99c9d348b0
27
upower/PKGBUILD
Normal file
27
upower/PKGBUILD
Normal file
@ -0,0 +1,27 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=upower
|
||||
pkgver=0.9.7
|
||||
pkgrel=1
|
||||
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://upower.freedesktop.org"
|
||||
license=('GPL')
|
||||
depends=('udev>=164' 'libusb1>=1.0.8' 'polkit>=0.98' 'pm-utils' 'dbus-glib>=0.92')
|
||||
makedepends=('pkg-config' 'intltool' 'docbook-xsl')
|
||||
replaces=('devicekit-power')
|
||||
options=('!libtool')
|
||||
source=($url/releases/${pkgname}-${pkgver}.tar.bz2)
|
||||
sha256sums=('7db45ff675e6836e89adc84d6937e9e5cd468ded89e8bd19edcbfb1a28f42933')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--libexecdir=/usr/lib/upower --disable-static --disable-gtk-doc
|
||||
make
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user