move from unstable: docopt

This commit is contained in:
Leonid Pliushch 2020-12-30 14:20:39 +02:00
parent d062dd3516
commit ebb512374f
No known key found for this signature in database
GPG Key ID: 45F2964132545795

14
packages/docopt/build.sh Normal file
View File

@ -0,0 +1,14 @@
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=2
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
}