1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-13 01:36:39 +00:00
termux-packages/packages/cicada/build.sh
Termux Github Actions bb238dfb8b bump(main/cicada): 0.9.34
This commit has been automatically submitted by Github Actions.
2022-12-05 12:38:41 +00:00

24 lines
761 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/mitnk/cicada
TERMUX_PKG_DESCRIPTION="A bash like Unix shell"
TERMUX_PKG_MAINTAINER="Hugo Wang <w@mitnk.com>"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION="0.9.34"
TERMUX_PKG_SRCURL=https://github.com/mitnk/cicada/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=0e986d542a57c57e849089ee8386f9863b17f7378b7d565c35174242afc36712
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
termux_step_pre_configure() {
rm -f Makefile
if [ "$TERMUX_ARCH" == "x86_64" ]; then
local libdir=target/x86_64-linux-android/release/deps
mkdir -p $libdir
pushd $libdir
local libgcc="$($CC -print-libgcc-file-name)"
echo "INPUT($libgcc -l:libunwind.a)" > libgcc.so
popd
fi
}