packages: Fix hardcoded package name
in `termux_step_install_license()`. %ci:no-build
This commit is contained in:
parent
78da1e1f0a
commit
d25d42347b
@ -30,7 +30,7 @@ termux_step_make_install() {
|
||||
|
||||
termux_step_install_license() {
|
||||
local gemdir="$TERMUX_PREFIX/lib/ruby/gems/${ruby_version:0:3}.0"
|
||||
mkdir -p $TERMUX_PREFIX/share/doc/asciidoctor
|
||||
mkdir -p $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME
|
||||
cp $gemdir/gems/asciidoctor-${TERMUX_PKG_VERSION}/LICENSE \
|
||||
$TERMUX_PREFIX/share/doc/asciidoctor/
|
||||
$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/
|
||||
}
|
||||
|
@ -20,5 +20,5 @@ termux_step_post_make_install () {
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 $TERMUX_PKG_BUILDER_DIR/LICENSE \
|
||||
$TERMUX_PREFIX/share/doc/frogcomposband/LICENSE
|
||||
$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE
|
||||
}
|
||||
|
@ -129,5 +129,6 @@ termux_step_post_make_install() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 -t "${TERMUX_PREFIX}/share/doc/ghc" "${TERMUX_PKG_SRCDIR}/LICENSE"
|
||||
install -Dm600 -t "${TERMUX_PREFIX}/share/doc/${TERMUX_PKG_NAME}" \
|
||||
"${TERMUX_PKG_SRCDIR}/LICENSE"
|
||||
}
|
||||
|
@ -20,5 +20,6 @@ termux_step_make_install() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/lsof $TERMUX_PKG_BUILDER_DIR/license.txt
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME \
|
||||
$TERMUX_PKG_BUILDER_DIR/license.txt
|
||||
}
|
||||
|
@ -35,6 +35,6 @@ termux_step_make_install() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
mkdir -p $TERMUX_PREFIX/share/doc/netcat-openbsd
|
||||
head -n28 netcat.c | tail -n+2 > $TERMUX_PREFIX/share/doc/netcat-openbsd/LICENSE
|
||||
mkdir -p $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME
|
||||
head -n28 netcat.c | tail -n+2 > $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE
|
||||
}
|
||||
|
@ -44,5 +44,5 @@ termux_step_make_install() {
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 $TERMUX_PKG_BUILDER_DIR/License.txt \
|
||||
$TERMUX_PREFIX/share/doc/ovmf/LICENSE.txt
|
||||
$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE.txt
|
||||
}
|
||||
|
@ -14,6 +14,6 @@ termux_step_make_install() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm644 -t $TERMUX_PREFIX/share/doc/snake/ \
|
||||
install -Dm644 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/ \
|
||||
$TERMUX_PKG_BUILDER_DIR/LICENSE
|
||||
}
|
||||
|
@ -26,6 +26,6 @@ termux_step_make_install() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 -t "$TERMUX_PREFIX/share/doc/srelay" \
|
||||
install -Dm600 -t "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME" \
|
||||
"$TERMUX_PKG_BUILDER_DIR"/LICENSE.txt
|
||||
}
|
||||
|
@ -19,5 +19,6 @@ termux_step_pre_configure() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/libdrm $TERMUX_PKG_BUILDER_DIR/LICENSE
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME \
|
||||
$TERMUX_PKG_BUILDER_DIR/LICENSE
|
||||
}
|
||||
|
@ -10,5 +10,6 @@ TERMUX_PKG_DEPENDS="libxcb"
|
||||
TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros"
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/xcb-util-keysyms $TERMUX_PKG_BUILDER_DIR/LICENSE
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME \
|
||||
$TERMUX_PKG_BUILDER_DIR/LICENSE
|
||||
}
|
||||
|
@ -50,5 +50,6 @@ termux_step_post_make_install() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/xorg-fonts-100dpi $TERMUX_PKG_BUILDER_DIR/COPYING
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME \
|
||||
$TERMUX_PKG_BUILDER_DIR/COPYING
|
||||
}
|
||||
|
@ -50,5 +50,6 @@ termux_step_post_make_install() {
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/xorg-fonts-75dpi $TERMUX_PKG_BUILDER_DIR/COPYING
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME \
|
||||
$TERMUX_PKG_BUILDER_DIR/COPYING
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user