2019-05-11 17:27:56 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://bitbucket.org/tmedwards/tweego
|
|
|
|
TERMUX_PKG_DESCRIPTION="A free command line compiler for Twine/Twee story formats"
|
|
|
|
TERMUX_PKG_LICENSE="BSD"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-05-29 13:41:04 +02:00
|
|
|
TERMUX_PKG_VERSION=2.1.1
|
2021-05-29 14:59:43 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-01-12 22:35:23 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/tmedwards/tweego/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2021-05-29 13:41:04 +02:00
|
|
|
TERMUX_PKG_SHA256=f58991ff0b5b344ebebb5677b7c21209823fa6d179397af4a831e5ef05f28b02
|
2019-05-11 17:27:56 +02:00
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
termux_setup_golang
|
|
|
|
|
|
|
|
export GOPATH=$TERMUX_PKG_BUILDDIR
|
2021-05-15 22:11:53 +02:00
|
|
|
mkdir -p "$GOPATH"/src/github.com/tmedwards
|
|
|
|
ln -sf "$TERMUX_PKG_SRCDIR" "$GOPATH"/src/github.com/tmedwards/tweego
|
2019-05-11 17:27:56 +02:00
|
|
|
|
2021-05-15 22:11:53 +02:00
|
|
|
cd "$GOPATH"/src/github.com/tmedwards/tweego
|
2021-07-10 16:00:18 +02:00
|
|
|
go get -d -v github.com/tmedwards/tweego
|
2019-05-11 17:27:56 +02:00
|
|
|
go build
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 \
|
2021-05-29 13:41:04 +02:00
|
|
|
"$GOPATH"/src/github.com/tmedwards/tweego/tweego \
|
2019-05-11 17:27:56 +02:00
|
|
|
"$TERMUX_PREFIX"/bin/
|
|
|
|
}
|