Browse Source

fix formatting for some packages

%ci:no-build
master
Leonid Plyushch 5 years ago
parent
commit
e2776099fb
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 3
      packages/gkermit/build.sh
  2. 3
      packages/ipfs/build.sh
  3. 2
      packages/pup/build.sh
  4. 4
      packages/shell2http/build.sh
  5. 3
      packages/youtubedr/build.sh

3
packages/gkermit/build.sh

@ -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"
} }

3
packages/ipfs/build.sh

@ -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/"
} }

2
packages/pup/build.sh

@ -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
} }

4
packages/shell2http/build.sh

@ -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/
} }

3
packages/youtubedr/build.sh

@ -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
} }

Loading…
Cancel
Save