diff --git a/build-package.sh b/build-package.sh index 5addc35c4..b0156348b 100755 --- a/build-package.sh +++ b/build-package.sh @@ -64,7 +64,6 @@ termux_setup_golang() { local TERMUX_GO_VERSION=go1.8rc1 local TERMUX_GO_PLATFORM=linux-amd64 - test "$(uname)" = "Darwin" && TERMUX_GO_PLATFORM=darwin-amd64 local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM} export GOROOT=$TERMUX_BUILDGO_FOLDER @@ -211,8 +210,6 @@ termux_step_setup_variables() { export TERMUX_TAR="tar" export TERMUX_TOUCH="touch" - test "$(uname)" = "Darwin" && TERMUX_TAR=gtar - test "$(uname)" = "Darwin" && TERMUX_TOUCH=gtouch export prefix=${TERMUX_PREFIX} export PREFIX=${TERMUX_PREFIX} export PKG_CONFIG_LIBDIR=$TERMUX_PREFIX/lib/pkgconfig diff --git a/packages/ncurses/build.sh b/packages/ncurses/build.sh index 23dc2572e..603ec3948 100755 --- a/packages/ncurses/build.sh +++ b/packages/ncurses/build.sh @@ -23,18 +23,6 @@ termux_step_post_make_install () { mkdir ncursesw cd ncursesw ln -s ../{ncurses.h,termcap.h,panel.h,unctrl.h,menu.h,form.h,tic.h,nc_tparm.h,term.h,eti.h,term_entry.h,ncurses_dll.h,curses.h} . - - if [ `uname` = Darwin ]; then - cd $TERMUX_PREFIX/share/terminfo - for l in *; do - if [ ${#l} -eq 2 ]; then - char=`echo 0x$l | /usr/bin/awk '{printf "%c\n", $1}'` - rm -Rf $char - mv $l $char - fi - done - cd - - fi } termux_step_post_massage () {