shiori: install into TERMUX_PKG_MASSAGEDIR

This commit is contained in:
Henrik Grimler 2021-05-14 14:43:04 +02:00 committed by Henrik Grimler
parent 01c1453843
commit 90384fb5ee
1 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,9 @@ termux_step_make() {
}
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
install -Dm700 -t "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"/bin \
"$GOPATH"/src/github.com/go-shiori/shiori/shiori
mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"/share/doc/shiori
cp -a "$TERMUX_PKG_SRCDIR"/docs/ \
"$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"/share/doc/shiori
}