fix formatting for some packages

%ci:no-build
This commit is contained in:
Leonid Pliushch 2020-05-09 14:09:43 +03:00
parent 66d3b1c682
commit 6c886523ef
7 changed files with 54 additions and 57 deletions

View File

@ -9,7 +9,8 @@ TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_MAKE_PROCESSES=1 TERMUX_MAKE_PROCESSES=1
termux_step_post_extract_package() { termux_step_post_extract_package() {
local file filename
filename=$(basename "$TERMUX_PKG_SRCURL") filename=$(basename "$TERMUX_PKG_SRCURL")
local file="$TERMUX_PKG_CACHEDIR/$filename" file="$TERMUX_PKG_CACHEDIR/$filename"
tar xf "$file" -C "$TERMUX_PKG_SRCDIR" tar xf "$file" -C "$TERMUX_PKG_SRCDIR"
} }

View File

@ -32,6 +32,5 @@ termux_step_make() {
} }
termux_step_make_install() { termux_step_make_install() {
mkdir -p "${TERMUX_PREFIX}/bin" install -Dm700 -t "$TERMUX_PREFIX"/bin "${TERMUX_PKG_BUILDDIR}/src/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs"
cp -f "${TERMUX_PKG_BUILDDIR}/src/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs" "${TERMUX_PREFIX}/bin/"
} }

View File

@ -20,5 +20,5 @@ termux_step_make() {
} }
termux_step_make_install() { termux_step_make_install() {
install -Dm700 "$GOPATH"/src/github.com/ericchiang/pup/pup "$TERMUX_PREFIX"/bin/ install -Dm700 -t "$TERMUX_PREFIX"/bin "$GOPATH"/src/github.com/ericchiang/pup/pup
} }

View File

@ -20,7 +20,5 @@ termux_step_make() {
} }
termux_step_make_install() { termux_step_make_install() {
install -Dm700 \ install -Dm700 -t "$TERMUX_PREFIX"/bin "$GOPATH"/src/github.com/msoap/shell2http/shell2http
"$GOPATH"/src/github.com/msoap/shell2http/shell2http \
"$TERMUX_PREFIX"/bin/
} }

View File

@ -21,6 +21,5 @@ termux_step_make() {
} }
termux_step_make_install() { termux_step_make_install() {
install -Dm700 -t "$TERMUX_PREFIX"/bin \ install -Dm700 -t "$TERMUX_PREFIX"/bin "$GOPATH"/src/github.com/kkdai/youtube/youtubedr/youtubedr
"$GOPATH"/src/github.com/kkdai/youtube/youtubedr/youtubedr
} }