youtubedr: build fixes
This commit is contained in:
parent
7d026f5c1a
commit
66d3b1c682
@ -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/
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user