void-packages/srcpkgs/swaks/template
2016-04-04 13:53:21 +02:00

27 lines
619 B
Bash

# Template file for 'swaks'
pkgname="swaks"
version="20130209.0"
revision=3
noarch=yes
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
}