termux-packages/packages/slides/build.sh

23 lines
645 B
Bash
Raw Normal View History

2021-06-10 18:53:02 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/maaslalani/slides
TERMUX_PKG_DESCRIPTION="Slides in your terminal"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Yaksh Bariya <yakshbari4@gmail.com>"
TERMUX_PKG_VERSION="0.8.0"
2021-06-10 18:53:02 +02:00
TERMUX_PKG_SRCURL=https://github.com/maaslalani/slides/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=9180bc3fe88b44fe254c14d89c8554c442c3cfc6a1c1cd8f482db3f3ef13098d
TERMUX_PKG_AUTO_UPDATE=true
2021-06-10 18:53:02 +02:00
termux_step_make() {
termux_setup_golang
export GOPATH=$TERMUX_PKG_BUILDDIR
cd "$TERMUX_PKG_SRCDIR"
2021-06-10 18:53:02 +02:00
make build
}
termux_step_make_install() {
install -Dm700 \
"$TERMUX_PKG_SRCDIR"/slides \
"$TERMUX_PREFIX"/bin/
}