# Template file for 'at'
pkgname=at
version=3.1.20
revision=1
build_style=gnu-configure
configure_args="--with-jobdir=/var/spool/atd --with-atspool=/var/spool/atd
 --sbindir=/usr/bin --with-daemon_username=at --with-daemon_groupname=at
 SENDMAIL=/usr/sbin/sendmail"
disable_parallel_build=yes
conf_files="/etc/at.deny"
system_accounts="at"
at_homedir="/var/spool/atd"
make_dirs="/var/spool/atd 1770 at at"
hostmakedepends="flex"
makedepends="pam-devel libfl-devel"
depends="virtual?smtp-server"
short_desc="Run commands at a specified time"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://packages.qa.debian.org/a/at.html"
distfiles="${DEBIAN_SITE}/main/a/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=0871923cab73050b98ace020664eb2ddc1e669e4166b5abb64d864d02fcefab9

do_install() {
	sed -i '/chown/d' Makefile
	make install IROOT="$DESTDIR" docdir=/usr/share/doc
	vsv at
	rm -f ${DESTDIR}/var/spool/atd/.SEQ
}
