youtubedr: build fixes

This commit is contained in:
Leonid Pliushch 2020-05-09 14:01:43 +03:00
parent 7d026f5c1a
commit 66d3b1c682

View File

@ -16,11 +16,11 @@ termux_step_make() {
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/kkdai/youtube" cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/kkdai/youtube"
cd "${GOPATH}/src/github.com/kkdai/youtube/" cd "${GOPATH}/src/github.com/kkdai/youtube/"
go get -d -v go get -d -v
go build cd youtubedr
go build .
} }
termux_step_make_install() { termux_step_make_install() {
install -Dm700 \ install -Dm700 -t "$TERMUX_PREFIX"/bin \
"$GOPATH"/src/github.com/kkdai/youtube/youtubedr/ \ "$GOPATH"/src/github.com/kkdai/youtube/youtubedr/youtubedr
"$TERMUX_PREFIX"/bin/
} }