21 lines
597 B
Bash
21 lines
597 B
Bash
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.4.1
|
|
TERMUX_PKG_SRCURL=https://github.com/maaslalani/slides/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=f1c3494ec8d52ebb0351f1722d60ad4f4dd56b1f649130adfe59db8c9ffaeae2
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
termux_go_get
|
|
make build
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 \
|
|
"$TERMUX_PKG_SRCDIR"/slides \
|
|
"$TERMUX_PREFIX"/bin/
|
|
}
|