void-packages/srcpkgs/swaks/template
2019-01-17 10:23:07 -02:00

21 lines
609 B
Bash

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