### this file is sourced not run
PKGVER=2.0.25
PKGBUILD=1
PKGARCH=x86_64

# source: post BLFS 7.8 2016-01-06
TARBALL=acpid-$PKGVER.tar.xz
MD5SUM=69bb0cc4a0a89eb2dfecc4851087f568
SRC_URL=http://downloads.sourceforge.net/acpid2/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="acpid: acpid $PKGVER (ACPI daemon)  
acpid:  
acpid: The acpid (Advanced Configuration and Power Interface event daemon) is 
acpid: a completely flexible, totally extensible daemon for delivering ACPI 
acpid: events. It listens on netlink interface and when an event occurs, 
acpid: executes programs to handle the event. The programs it executes are 
acpid: configured through a set of configuration files, which can be dropped 
acpid: into place by packages or by the user.  
acpid: 
acpid: 
acpid:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --docdir=/usr/share/doc/acpid-$PKGVER"
	pkg_build_autoconf && 
	install -v -m755 -d /etc/acpi/events &&
	cp -r samples /usr/share/doc/acpid-$PKGVER &&
	pkg_build_slackdesc
}


