termux-packages/packages/termux-licenses/build.sh
Henrik Grimler 362334f352 termux-licenses: add package
Contains copies of all LICENSES used for packages in main repo, x11-packages, unstable-packages, termux-root-packages, game-packages and science-packages
2019-05-19 21:36:30 +03:00

14 lines
407 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_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_ESSENTIAL=yes
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
}