void-packages/srcpkgs/spampd/template

25 lines
765 B
Bash

# Template file for 'spampd'
pkgname=spampd
version=2.30
revision=2
build_style=gnu-makefile
hostmakedepends="perl"
depends="perl perl-Net-Server spamassassin"
short_desc="SMTP proxy used scan messages for spam"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.worlddesign.com/index.cfm/page/software/open-source/spampd.htm"
distfiles="https://github.com/downloads/mpaperno/$pkgname/$pkgname-$version.tar.gz"
checksum=c980e55f46c7757fd45294e5268766253123490d0158d2ee36ad5700ddf823bb
system_accounts="_spampd"
_spampd_homedir="/var/lib/spampd"
pre_install() {
sed -i '/INSTALL.* \(spampd.default\|spampd-init.sh\) /d' Makefile
}
post_install() {
vmkdir usr/bin
mv $DESTDIR/usr/sbin/* $DESTDIR/usr/bin
vsv spampd
}