mirror of
https://github.com/termux/termux-packages
synced 2024-06-25 01:17:09 +00:00
b281bc2145
All except libllvm, rust, rustc-nightly, openfoam and libdispatch, those packages will be handled separately.
25 lines
841 B
Bash
25 lines
841 B
Bash
TERMUX_PKG_HOMEPAGE=http://wiz-lang.org/
|
|
TERMUX_PKG_DESCRIPTION="A high-level assembly language for writing homebrew software for retro console platforms"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
_COMMIT=b25ba2d90288fc8a380d99b3ad08a5b48caaa484
|
|
TERMUX_PKG_VERSION=2021.06.02
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/wiz-lang/wiz.git
|
|
TERMUX_PKG_GIT_BRANCH=master
|
|
TERMUX_PKG_DEPENDS="libc++"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
|
|
|
|
termux_step_post_get_source() {
|
|
git fetch --unshallow
|
|
git checkout $_COMMIT
|
|
|
|
local version="$(git log -1 --format=%cs | sed 's/-/./g')"
|
|
if [ "$version" != "$TERMUX_PKG_VERSION" ]; then
|
|
echo -n "ERROR: The specified version \"$TERMUX_PKG_VERSION\""
|
|
echo " is different from what is expected to be: \"$version\""
|
|
return 1
|
|
fi
|
|
}
|