smlinux/xfce/upower/smbuild
PktSurf 8f942da698 Enabled compositor by default in xfce/xfwm4
Added /usr to several xfce section build files
2024-11-01 22:31:37 +05:30

35 lines
806 B
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
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"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
1f61e3d47ee62e34a7be15cc7144ee5f684eb204859bbd98c4b697e25ce3a6b7a100cb2354518190ebcaffb2f96d4ffb6464309654c16aea9dc1db727b982aca upower-0.99.11.tar.lz
"