Use TERMUX_PKG_BUILD_IN_SRC
This commit is contained in:
parent
91c6790366
commit
c06a8e07fa
@ -5,14 +5,13 @@ 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_PKG_BUILD_IN_SRC=true
|
||||
|
||||
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
|
||||
install -Dm700 -t "$TERMUX_PREFIX"/bin germanium
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user