Browse Source

swaks: build manpage

master
Leonid Plyushch 5 years ago
parent
commit
6c808852a9
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 8
      packages/swaks/build.sh

8
packages/swaks/build.sh

@ -2,12 +2,16 @@ TERMUX_PKG_HOMEPAGE=http://jetmore.org/john/code/swaks/
TERMUX_PKG_DESCRIPTION="Swiss Army Knife for SMTP" TERMUX_PKG_DESCRIPTION="Swiss Army Knife for SMTP"
TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=20190914.0 TERMUX_PKG_VERSION=20190914.0
TERMUX_PKG_SRCURL=https://github.com/jetmore/swaks/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=0ea331fdb036dda84bd67b4c9800250521d13224c2ccf0455f90d11e57facc5f TERMUX_PKG_SRCURL=https://jetmore.org/john/code/swaks/files/swaks-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=5733a51a5c3f74f62274c17dc825f177c22ed52703c97c3b23a5354d7ec15c89
TERMUX_PKG_DEPENDS="perl" TERMUX_PKG_DEPENDS="perl"
TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() { termux_step_make_install() {
install -Dm700 swaks "$TERMUX_PREFIX"/bin/swaks install -Dm700 swaks "$TERMUX_PREFIX"/bin/swaks
cd doc
pod2man ref.pod swaks.1
install -Dm600 swaks.1 "$TERMUX_PREFIX"/share/man/man1/swaks.1
} }

Loading…
Cancel
Save