build-package: licenses->LICENSES
This commit is contained in:
parent
9e4715ee82
commit
9c0fd0513f
@ -4,9 +4,9 @@ termux_step_install_license() {
|
||||
for LICENSE in $(echo $TERMUX_PKG_LICENSE | sed 's/,/ /g'); do
|
||||
if [ -f "$TERMUX_SCRIPTDIR/packages/termux-licenses/LICENSES/${LICENSE}.txt" ]; then
|
||||
if [[ $COUNTER > 0 ]]; then
|
||||
ln -s "../licenses/${LICENSE}.txt" "$TERMUX_PREFIX/share/$TERMUX_PKG_NAME/LICENSE.${COUNTER}"
|
||||
ln -sf "../LICENSES/${LICENSE}.txt" "$TERMUX_PREFIX/share/$TERMUX_PKG_NAME/LICENSE.${COUNTER}"
|
||||
else
|
||||
ln -s "../licenses/${LICENSE}.txt" "$TERMUX_PREFIX/share/$TERMUX_PKG_NAME/LICENSE"
|
||||
ln -sf "../LICENSES/${LICENSE}.txt" "$TERMUX_PREFIX/share/$TERMUX_PKG_NAME/LICENSE"
|
||||
fi
|
||||
else
|
||||
for POSSIBLE_LICENSE in "LICENSE*" "license*" "COPYRIGHT" "copyright"; do
|
||||
|
@ -107,7 +107,7 @@ termux_step_start_build() {
|
||||
"$TERMUX_PKG_TMPDIR" \
|
||||
"$TERMUX_PKG_CACHEDIR" \
|
||||
"$TERMUX_PKG_MASSAGEDIR" \
|
||||
$TERMUX_PREFIX/{bin,etc,lib,libexec,share,share/licenses,tmp,include}
|
||||
$TERMUX_PREFIX/{bin,etc,lib,libexec,share,share/LICENSES,tmp,include}
|
||||
|
||||
# Make $TERMUX_PREFIX/bin/sh executable on the builder, so that build
|
||||
# scripts can assume that it works on both builder and host later on:
|
||||
|
Loading…
Reference in New Issue
Block a user