termux-packages/packages/germanium/build.sh

18 lines
581 B
Bash
Raw Normal View History

2021-03-13 13:13:59 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/matsuyoshi30/germanium
2021-03-14 04:56:58 +01:00
TERMUX_PKG_DESCRIPTION="Generate image from source code"
2021-03-13 13:13:59 +01:00
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Raven Ravener <ravener.anime@gmail.com>"
2021-07-16 21:06:03 +02:00
TERMUX_PKG_VERSION=1.2.0
2021-03-13 13:13:59 +01:00
TERMUX_PKG_SRCURL=https://github.com/matsuyoshi30/germanium/archive/v$TERMUX_PKG_VERSION.tar.gz
2021-07-16 21:06:03 +02:00
TERMUX_PKG_SHA256=9a2b190ea7e8211ed03fa6860aea73ef06228266d7b6e4d32df2031fdf1c9606
2021-03-16 16:50:09 +01:00
TERMUX_PKG_BUILD_IN_SRC=true
2021-03-13 13:13:59 +01:00
termux_step_make() {
termux_setup_golang
2021-06-09 15:53:23 +02:00
make build
2021-03-13 13:13:59 +01:00
}
termux_step_make_install() {
2021-03-16 16:50:09 +01:00
install -Dm700 -t "$TERMUX_PREFIX"/bin germanium
2021-03-13 13:13:59 +01:00
}