void-packages/srcpkgs/swaks/template

28 lines
619 B
Bash
Raw Normal View History

2014-12-08 17:50:39 +01:00
# Template file for 'swaks'
pkgname="swaks"
version="20130209.0"
2014-12-09 09:49:32 +01:00
revision=2
noarch=yes
2014-12-08 17:50:39 +01:00
short_desc="Swiss Army Knife for SMTP"
maintainer="allan <mail@may.mooo.com>"
license="GPL-2"
homepage="http://www.jetmore.org/john/code/swaks/"
distfiles="http://www.jetmore.org/john/code/$pkgname/files/$pkgname-$version.tar.gz"
checksum="0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c"
hostmakedepends="perl ed"
depends="perl"
pre_install() {
ed >/dev/null doc/ref.pod <<-EDIT
,s/^=item \([0-9]\+\)$/=item C<\1>/
w
q
EDIT
pod2man doc/ref.pod $pkgname.1
}
do_install() {
vbin swaks
vman $pkgname.1
}