Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | TERMUX_PKG_HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/ |
2 | TERMUX_PKG_DESCRIPTION="Small POSIX-compliant implementation of /bin/sh" | |
b3ab1d54 | 3 | TERMUX_PKG_ESSENTIAL=yes |
acbfec93 | 4 | TERMUX_PKG_VERSION=0.5.9.1 |
a502ab6d | 5 | TERMUX_PKG_SHA256=5ecd5bea72a93ed10eb15a1be9951dd51b52e5da1d4a7ae020efd9826b49e659 |
c1df334b | 6 | # Use a mirror as upstream has issues: |
a502ab6d FF |
7 | # TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_PKG_VERSION}.tar.gz |
8 | TERMUX_PKG_SRCURL=https://dl.bintray.com/termux/upstream/dash-${TERMUX_PKG_VERSION}.tar.gz | |
59f0d218 | 9 | |
59f0d218 FF |
10 | termux_step_post_make_install () { |
11 | # Symlink sh -> dash | |
12 | rm -f $TERMUX_PREFIX/bin/sh $TERMUX_PREFIX/share/man/man1/sh.1 | |
13 | cd $TERMUX_PREFIX/bin | |
14 | ln -s dash sh | |
15 | cd $TERMUX_PREFIX/share/man/man1 | |
16 | ln -s dash.1 sh.1 | |
17 | } |