Add package germanium

This commit is contained in:
Raven Ravener 2021-03-13 16:43:59 +04:30 committed by Henrik Grimler
parent 6aef739d9f
commit d2685da14c
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
TERMUX_PKG_HOMEPAGE=https://github.com/matsuyoshi30/germanium
TERMUX_PKG_DESCRIPTION="Germanium is an alternative to Carbon and Silicon implemented in Go."
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Raven Ravener <ravener.anime@gmail.com>"
TERMUX_PKG_VERSION=0.3.0
TERMUX_PKG_SRCURL=https://github.com/matsuyoshi30/germanium/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=44fc26bb263f409363618ab091b7ca877f11870edbff436efc5fe2d4e950beda
termux_step_make() {
termux_setup_golang
cd $TERMUX_PKG_SRCDIR
go build
}
termux_step_make_install() {
install -Dm700 -t "$TERMUX_PREFIX"/bin $TERMUX_PKG_SRCDIR/germanium
}