termux-packages/packages/docopt/build.sh
2020-12-30 14:22:12 +02:00

15 lines
588 B
Bash

TERMUX_PKG_HOMEPAGE=http://docopt.org
TERMUX_PKG_DESCRIPTION="Command line arguments parser for C++11 and later"
TERMUX_PKG_LICENSE="BSL-1.0, MIT"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=0.6.2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/docopt/docopt.cpp/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c05542245232420d735c7699098b1ea130e3a92bade473b64baf876cdf098a17
termux_step_install_license() {
install -Dm600 -t "$TERMUX_PREFIX/share/doc/docopt" \
"$TERMUX_PKG_SRCDIR"/LICENSE-Boost-1.0 \
"$TERMUX_PKG_SRCDIR"/LICENSE-MIT
}