2021-01-09 13:44:26 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/go-shiori/shiori
|
|
|
|
TERMUX_PKG_DESCRIPTION="Simple bookmark manager built with Go"
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
|
|
TERMUX_PKG_MAINTAINER="Krishna Kanhaiya @kcubeterm"
|
2022-02-24 19:26:59 +01:00
|
|
|
TERMUX_PKG_VERSION=1.5.2
|
2021-01-09 13:44:26 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/go-shiori/shiori/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2022-02-24 19:26:59 +01:00
|
|
|
TERMUX_PKG_SHA256=c3eefab2f9a053ef43f4a4e3e7b2d8ab6c67bf7e8a86bca9afdf0f0edf73fa26
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-01-09 13:44:26 +01:00
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
termux_setup_golang
|
|
|
|
|
|
|
|
cd "$TERMUX_PKG_SRCDIR"
|
|
|
|
|
|
|
|
export GOPATH=$TERMUX_PKG_BUILDDIR
|
|
|
|
mkdir -p "$GOPATH"/src/github.com/go-shiori/
|
|
|
|
mkdir -p "$TERMUX_PREFIX"/share/doc/shiori
|
|
|
|
cp -a "$TERMUX_PKG_SRCDIR" "$GOPATH"/src/github.com/go-shiori/shiori
|
|
|
|
cd "$GOPATH"/src/github.com/go-shiori/shiori/
|
2021-07-10 16:00:18 +02:00
|
|
|
go get -d -v
|
2021-01-09 13:44:26 +01:00
|
|
|
go build
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 -t "$TERMUX_PREFIX"/bin "$GOPATH"/src/github.com/go-shiori/shiori/shiori
|
|
|
|
cp -a "$TERMUX_PKG_SRCDIR"/docs/ "$TERMUX_PREFIX"/share/doc/shiori
|
|
|
|
}
|