docopt: specify license files in TERMUX_PKG_LICENSE_FILE instead

This commit is contained in:
Henrik Grimler 2021-05-12 21:40:13 +02:00
parent 33bd19af97
commit 63c549c509
1 changed files with 2 additions and 6 deletions

View File

@ -1,13 +1,9 @@
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_LICENSE_FILE="LICENSE-Boost-1.0, LICENSE-MIT"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=0.6.3
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/docopt/docopt.cpp/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=28af5a0c482c6d508d22b14d588a3b0bd9ff97135f99c2814a5aa3cbff1d6632
termux_step_install_license() {
install -Dm600 -t "$TERMUX_PREFIX/share/doc/docopt" \
"$TERMUX_PKG_SRCDIR"/LICENSE-Boost-1.0 \
"$TERMUX_PKG_SRCDIR"/LICENSE-MIT
}