smlinux/xfce/xfce4-power-manager/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

36 lines
870 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-power-manager
version=4.16.0
build=1sml
homepage="https://docs.xfce.org/xfce/xfce4-power-manager/start"
download="https://archive.xfce.org/xfce/4.16/src/xfce4-power-manager-$version.tar.bz2"
desc="Power manager for Xfce"
requires="upower libnotify libxfce4ui xfce4-panel xfce4-notifyd"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-polkit \
--disable-network-manager
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
2480d6ac40d7108d7b026a8e47e3ba34e343a07caed26e6ad37777d35ca714268e4716140fd5edaa492fd45cf9c0ce849b9a33733cd63a75bbca42f9ecd5a681 xfce4-power-manager-4.16.0.tar.lz
"