void-packages/srcpkgs/swaks/template
2019-03-01 12:04:45 -03:00

21 lines
611 B
Bash

# Template file for 'swaks'
pkgname=swaks
version=20181104.0
revision=1
archs=noarch
hostmakedepends="perl"
depends="perl perl-IO-Socket-INET6 perl-Net-DNS"
short_desc="Swiss Army Knife for SMTP"
maintainer="allan <mail@may.mooo.com>"
license="GPL-2.0-only"
homepage="http://www.jetmore.org/john/code/swaks/"
distfiles="http://www.jetmore.org/john/code/${pkgname}/files/${pkgname}-${version}.tar.gz"
checksum=023f7f8818ebcd638618327809cf1939c5ffcaf6c3d2572ef56179d68f683e58
do_install() {
vbin swaks
sed -i 's/^=item \([0-9]\+\)$/=item C<\1>/' doc/ref.pod
pod2man doc/ref.pod $pkgname.1
vman $pkgname.1
}