New package: slides (#6979)
This commit is contained in:
parent
badc65adec
commit
d3a2c86c23
21
packages/slides/build.sh
Normal file
21
packages/slides/build.sh
Normal file
@ -0,0 +1,21 @@
|
||||
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.1.2
|
||||
TERMUX_PKG_SRCURL=https://github.com/maaslalani/slides/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=195f5269ef78733081fa0034add5dca9c5c855ee01bd990795741cb70e385f23
|
||||
|
||||
termux_step_make() {
|
||||
termux_setup_golang
|
||||
|
||||
export GOPATH=$TERMUX_PKG_BUILDDIR
|
||||
cd "$TERMUX_PKG_SRCDIR"
|
||||
make build
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -Dm700 \
|
||||
"$TERMUX_PKG_SRCDIR"/slides \
|
||||
"$TERMUX_PREFIX"/bin/
|
||||
}
|
Loading…
Reference in New Issue
Block a user