Skip to content

Commit

Permalink
Adjust directory
Browse files Browse the repository at this point in the history
  • Loading branch information
truboxl committed Jun 21, 2024
1 parent b8dc65c commit 62e0b9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export TERMUX_NDK_VERSION_NUM
export TERMUX_NDK_REVISION
export TERMUX_PKG_ENABLE_CLANG16_PORTING=false

cd "$REPOROOT/termux-packages"
pushd "$REPOROOT/termux-packages"
git reset --hard

case "$1" in
Expand All @@ -23,7 +23,7 @@ arm-vfpv3-d16)
sed \
-e "s|^TERMUX_PKG_SRCURL=.*|TERMUX_PKG_SRCURL=https://dl.google.com/android/repository/android-ndk-r23c-linux.zip|" \
-e "s|^TERMUX_PKG_SHA256=.*|TERMUX_PKG_SHA256=6ce94604b77d28113ecd588d425363624a5228d9662450c48d2e4053f8039242|" \
-i "$REPOROOT/packages/$p/build.sh"
-i "packages/$p/build.sh"
done
patch -p1 -i "$REPOROOT/termux-packages.$1.lf.patch"
#patch -p1 -i "$REPOROOT/termux-packages.$1.crlf.patch"
Expand Down Expand Up @@ -58,3 +58,5 @@ mv "output" "$REPOROOT/output"

echo "[*] Generated packages:"
ls -lh "$REPOROOT/output"

popd
6 changes: 4 additions & 2 deletions generate-bootstraps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export TERMUX_ARCH
export TERMUX_NDK_VERSION_NUM
export TERMUX_NDK_REVISION

cd "$REPOROOT/termux-packages"
pushd "$REPOROOT/termux-packages"
git reset --hard

case "$1" in
Expand All @@ -21,7 +21,7 @@ arm-vfpv3-d16)
sed \
-e "s|^TERMUX_PKG_SRCURL=.*|TERMUX_PKG_SRCURL=https://dl.google.com/android/repository/android-ndk-r23c-linux.zip|" \
-e "s|^TERMUX_PKG_SHA256=.*|TERMUX_PKG_SHA256=6ce94604b77d28113ecd588d425363624a5228d9662450c48d2e4053f8039242|" \
-i "$REPOROOT/packages/$p/build.sh"
-i "packages/$p/build.sh"
done
patch -p1 -i "$REPOROOT/termux-packages.$1.lf.patch"
#patch -p1 -i "$REPOROOT/termux-packages.$1.crlf.patch"
Expand All @@ -45,3 +45,5 @@ arm-vfpv3-d16)
*)
mv -v bootstrap-*.zip "$REPOROOT"
esac

popd

0 comments on commit 62e0b9f

Please sign in to comment.