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>"
|
2022-02-15 19:35:47 +01:00
|
|
|
TERMUX_PKG_VERSION=0.7.3
|
2021-06-10 18:53:02 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/maaslalani/slides/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2022-02-15 19:35:47 +01:00
|
|
|
TERMUX_PKG_SHA256=1d0c08ece824825a8150c4c92ed4d3cc007eb4aa0fa659a8f3fda4207e0a0b24
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-06-10 18:53:02 +02:00
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
termux_setup_golang
|
2021-07-10 16:00:18 +02:00
|
|
|
|
|
|
|
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/
|
|
|
|
}
|