void-packages/srcpkgs/pm-utils/template

23 lines
715 B
Plaintext
Raw Normal View History

2014-07-16 18:18:52 +02:00
# Template file for 'pm-utils'
pkgname=pm-utils
version=1.4.1
revision=2
2014-07-16 18:18:52 +02:00
build_style=gnu-configure
make_dirs="
/etc/pm/sleep.d 0755 root root
2014-07-16 18:18:52 +02:00
/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}
}