void-packages/srcpkgs/spampd/template

25 lines
765 B
Bash

# Template file for 'spampd'
pkgname=spampd
version=2.30
revision=1
hostmakedepends="perl"
depends="perl perl-Net-Server spamassassin"
build_style=gnu-makefile
short_desc="SMTP proxy used scan messages for spam"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3"
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
noarch=yes
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
}