termux-packages/packages/germanium/build.sh
2021-06-09 16:53:23 +03:00

18 lines
581 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/matsuyoshi30/germanium
TERMUX_PKG_DESCRIPTION="Generate image from source code"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Raven Ravener <ravener.anime@gmail.com>"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_SRCURL=https://github.com/matsuyoshi30/germanium/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=afd39dc311b0c5226a9a197c07b13d52c6fc2557543951f4ba98910c19824881
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
make build
}
termux_step_make_install() {
install -Dm700 -t "$TERMUX_PREFIX"/bin germanium
}