void-packages/srcpkgs/pm-utils/template

23 lines
749 B
Text
Raw Normal View History

2014-07-16 16:18:52 +00:00
# Template file for 'pm-utils'
pkgname=pm-utils
version=1.4.1
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
make_dirs="/etc/pm/sleep.d 0755 root root
/etc/pm/power.d 0755 root root
/etc/pm/config.d 0755 root root"
hostmakedepends="xmlto"
depends="procps-ng"
short_desc="Power Management Utilities"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://pm-utils.freedesktop.org/"
distfiles="http://pm-utils.freedesktop.org/releases/${pkgname}-${version}.tar.gz"
checksum=8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4370c0b
post_install() {
rm "${DESTDIR}/usr/lib/pm-utils/sleep.d/55NetworkManager" \
"${DESTDIR}/usr/lib/pm-utils/power.d/"{harddrive,disable_wol}
}