31 lines
718 B
Text
Executable file
31 lines
718 B
Text
Executable file
app=upower
|
|
version=0.99.11
|
|
build=1sml
|
|
homepage="http://upower.freedesktop.org"
|
|
download="https://upower.freedesktop.org/releases/upower-$version.tar.xz"
|
|
desc="Abstraction layer for enumerating power devices"
|
|
requires="pcre glib util-linux netbsd-curses libffi eudev libusb dbus"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
1f61e3d47ee62e34a7be15cc7144ee5f684eb204859bbd98c4b697e25ce3a6b7a100cb2354518190ebcaffb2f96d4ffb6464309654c16aea9dc1db727b982aca upower-0.99.11.tar.lz
|
|
"
|