mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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'
|
# Template file for 'swaks'
|
||||||
pkgname="swaks"
|
pkgname="swaks"
|
||||||
version="20130209.0"
|
version=20170101.0
|
||||||
revision=3
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc="Swiss Army Knife for SMTP"
|
short_desc="Swiss Army Knife for SMTP"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.jetmore.org/john/code/swaks/"
|
homepage="http://www.jetmore.org/john/code/swaks/"
|
||||||
distfiles="http://www.jetmore.org/john/code/$pkgname/files/$pkgname-$version.tar.gz"
|
distfiles="http://www.jetmore.org/john/code/${pkgname}/files/${pkgname}-${version}.tar.gz"
|
||||||
checksum="0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c"
|
checksum=84e62dd0de4a56d5daebe25afd16835bd8d3c7f39caa5e6bc7d86a056925915e
|
||||||
hostmakedepends="perl ed"
|
hostmakedepends="perl"
|
||||||
depends="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() {
|
do_install() {
|
||||||
vbin swaks
|
vbin swaks
|
||||||
|
|
||||||
|
sed -i 's/^=item \([0-9]\+\)$/=item C<\1>/' doc/ref.pod
|
||||||
|
pod2man doc/ref.pod $pkgname.1
|
||||||
vman $pkgname.1
|
vman $pkgname.1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue