void-packages/srcpkgs/swaks/template
2019-10-14 21:21:03 +02:00

21 lines
611 B
Bash

# Template file for 'swaks'
pkgname=swaks
version=20190914.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=5733a51a5c3f74f62274c17dc825f177c22ed52703c97c3b23a5354d7ec15c89
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
}