swaks: update to 20170101.0.
This commit is contained in:
parent
63c953d220
commit
e6be4154e8
1 changed files with 8 additions and 14 deletions
|
@ -1,27 +1,21 @@
|
|||
# Template file for 'swaks'
|
||||
pkgname="swaks"
|
||||
version="20130209.0"
|
||||
revision=3
|
||||
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="0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c"
|
||||
hostmakedepends="perl ed"
|
||||
distfiles="http://www.jetmore.org/john/code/${pkgname}/files/${pkgname}-${version}.tar.gz"
|
||||
checksum=84e62dd0de4a56d5daebe25afd16835bd8d3c7f39caa5e6bc7d86a056925915e
|
||||
hostmakedepends="perl"
|
||||
depends="perl"
|
||||
|
||||
pre_install() {
|
||||
ed >/dev/null doc/ref.pod <<-EDIT
|
||||
,s/^=item \([0-9]\+\)$/=item C<\1>/
|
||||
w
|
||||
q
|
||||
EDIT
|
||||
pod2man doc/ref.pod $pkgname.1
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue