Skip to content

Commit

Permalink
fix(main/eltchlsh): fix license build error again (#21293)
Browse files Browse the repository at this point in the history
  • Loading branch information
truboxl committed Sep 2, 2024
1 parent 306129e commit 2f56828
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/eltclsh/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ TERMUX_PKG_DESCRIPTION="Interactive shell for TCL programming language"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@flosnvjx"
TERMUX_PKG_VERSION="1.19"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.openrobots.org/distfiles/eltclsh/eltclsh-"$TERMUX_PKG_VERSION".tar.gz
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://www.openrobots.org/distfiles/eltclsh/eltclsh-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d4e4f7b79d89a5ed37dc7535d00ac3894fcf3ba33245e672d7a0753ede39d351
TERMUX_PKG_DEPENDS="tcl, libandroid-support, libedit"
TERMUX_PKG_DEPENDS="libandroid-support, libedit, tcl"
TERMUX_PKG_BUILD_DEPENDS="tk"
TERMUX_PKG_SUGGESTS="tk"
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_METHOD=repology
TERMUX_PKG_NO_STATICSPLIT=true

termux_step_post_make_install() {
mkdir -p "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME"
sed -ne '/Copyright/,/ADVISED OF THE POSSIBILITY OF SUCH DAMAGE./s%^# %%p' "$TERMUX_PKG_SRCDIR/tcl/init.tcl" > "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/copyright"
termux_step_post_get_source() {
sed -ne '/Copyright/,/ADVISED OF THE POSSIBILITY OF SUCH DAMAGE./s%^# %%p' "$TERMUX_PKG_SRCDIR/tcl/init.tcl" > "$TERMUX_PKG_SRCDIR/copyright"
}

0 comments on commit 2f56828

Please sign in to comment.