termux-packages/packages/termux-licenses/build.sh
Leonid Pliushch 8701462951 add new linter script & fix packages where needed
Linter will check packages submitted for CI build. If error was found,
build will not be allowed.

To ensure that all build.sh scripts are consistent and have at least
minimal allowed quality, linter is permanently enabled for all branches
and pull requests.
2019-08-14 14:27:55 +03:00

15 lines
442 B
Bash

TERMUX_PKG_HOMEPAGE=https://termux.com
TERMUX_PKG_DESCRIPTION="Contains LICENSE files for common licenses"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=1.0
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/share/LICENSES
for LICENSE in "$TERMUX_PKG_BUILDER_DIR/LICENSES/*.txt"; do
cp -f $LICENSE $TERMUX_PREFIX/share/LICENSES/
done
}