void-packages/srcpkgs/at/template
2022-02-07 18:20:33 +01:00

30 lines
963 B
Bash

# Template file for 'at'
pkgname=at
version=3.2.5
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"
hostmakedepends="flex"
makedepends="pam-devel libfl-devel"
depends="virtual?smtp-server"
short_desc="Run commands at a specified time"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://packages.qa.debian.org/a/at.html"
distfiles="${DEBIAN_SITE}/main/a/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=bb066b389d7c9bb9d84a35738032b85c30cba7d949f758192adc72c9477fd3b8
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"
do_install() {
sed -i '/chown/d' Makefile
make install DESTDIR="$DESTDIR" docdir=/usr/share/doc
vsv at
rm -f ${DESTDIR}/var/spool/atd/.SEQ
}