void-packages/srcpkgs/swaks/template

22 lines
570 B
Bash

# Template file for 'swaks'
pkgname="swaks"
version=20170101.0
revision=1
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=84e62dd0de4a56d5daebe25afd16835bd8d3c7f39caa5e6bc7d86a056925915e
hostmakedepends="perl"
depends="perl"
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
}