termux-packages/packages/xmake/build.sh

16 lines
551 B
Bash

TERMUX_PKG_HOMEPAGE=https://xmake.io/
TERMUX_PKG_DESCRIPTION="A cross-platform build utility based on Lua"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Ruki Wang @waruqi"
TERMUX_PKG_VERSION=2.3.9
TERMUX_PKG_SRCURL=https://github.com/xmake-io/xmake/releases/download/v${TERMUX_PKG_VERSION}/xmake-v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=74ac394a71a137874393ff0f112b048a3c1c88c05efaa0059bb2268de9f4f672
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
make build
}
termux_step_make_install() {
make install PREFIX="${TERMUX_PREFIX}"
}