| 1 | TERMUX_PKG_HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/ |
| 2 | TERMUX_PKG_DESCRIPTION="Small POSIX-compliant implementation of /bin/sh" |
| 3 | TERMUX_PKG_ESSENTIAL=yes |
| 4 | TERMUX_PKG_VERSION=0.5.9 |
| 5 | TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_PKG_VERSION}.tar.gz |
| 6 | |
| 7 | termux_step_post_make_install () { |
| 8 | # Symlink sh -> dash |
| 9 | rm -f $TERMUX_PREFIX/bin/sh $TERMUX_PREFIX/share/man/man1/sh.1 |
| 10 | cd $TERMUX_PREFIX/bin |
| 11 | ln -s dash sh |
| 12 | cd $TERMUX_PREFIX/share/man/man1 |
| 13 | ln -s dash.1 sh.1 |
| 14 | } |