2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Small POSIX-compliant implementation of /bin/sh"
|
2015-12-04 01:04:57 +01:00
|
|
|
TERMUX_PKG_ESSENTIAL=yes
|
2016-09-26 13:59:18 +02:00
|
|
|
TERMUX_PKG_VERSION=0.5.9.1
|
2017-01-30 02:50:49 +01:00
|
|
|
TERMUX_PKG_SHA256=5ecd5bea72a93ed10eb15a1be9951dd51b52e5da1d4a7ae020efd9826b49e659
|
|
|
|
# Use a mirror as upstream has hade some issues:
|
|
|
|
# TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SRCURL=https://dl.bintray.com/termux/upstream/dash-${TERMUX_PKG_VERSION}.tar.gz
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_post_make_install () {
|
|
|
|
# Symlink sh -> dash
|
|
|
|
rm -f $TERMUX_PREFIX/bin/sh $TERMUX_PREFIX/share/man/man1/sh.1
|
|
|
|
cd $TERMUX_PREFIX/bin
|
|
|
|
ln -s dash sh
|
|
|
|
cd $TERMUX_PREFIX/share/man/man1
|
|
|
|
ln -s dash.1 sh.1
|
|
|
|
}
|