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

# BLFS 7.5
TARBALL=acpid-2.0.21.tar.xz
MD5SUM=252bb4b3a8053227e743e267d98b8a52 
SRC_URL=http://downloads.sourceforge.net/acpid2/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC='acpid: acpid 2.0.21 (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-2.0.21"
	pkg_build_autoconf && 
	install -v -m755 -d /etc/acpi/events &&
	cp -r samples /usr/share/doc/acpid-2.0.21 &&
	pkg_build_slackdesc
}


