diff --git a/packages/docopt/build.sh b/packages/docopt/build.sh new file mode 100644 index 000000000..ea7866355 --- /dev/null +++ b/packages/docopt/build.sh @@ -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 +}