void-packages/srcpkgs/swaks/template

21 lines
592 B
Bash

# Template file for 'swaks'
pkgname=swaks
version=20201014.0
revision=1
hostmakedepends="perl"
depends="perl perl-IO-Socket-INET6 perl-Net-DNS"
short_desc="Swiss Army Knife for SMTP"
maintainer="Orphaned <orphan@voidlinux.org>"
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=fb0a3b7d487a15b124ba6690f7b01a56617f1af2aa54233fd69013982de95a30
do_install() {
vbin swaks
sed -i 's/^=item \([0-9]\+\)$/=item C<\1>/' swaks
pod2man swaks $pkgname.1
vman $pkgname.1
}