From f81da103b843c688f83c0fd9ae59cde199b84ecb Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 13 Jun 2018 21:03:26 +0200 Subject: [PATCH] glulxe: Use termux_download instead of curl directly --- packages/glulxe/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/glulxe/build.sh b/packages/glulxe/build.sh index ffd96378e..86cafbdcb 100644 --- a/packages/glulxe/build.sh +++ b/packages/glulxe/build.sh @@ -7,9 +7,9 @@ TERMUX_PKG_BUILD_IN_SRC="yes" TERMUX_PKG_DEPENDS="ncurses" termux_step_configure () { - if [ ! -f $TERMUX_PKG_CACHEDIR/glktermw-104.tar.gz ]; then - curl http://eblong.com/zarf/glk/glktermw-104.tar.gz > $TERMUX_PKG_CACHEDIR/glktermw-104.tar.gz - fi + termux_download http://eblong.com/zarf/glk/glktermw-104.tar.gz \ + $TERMUX_PKG_CACHEDIR/glktermw-104.tar.gz \ + 5968630b45e2fd53de48424559e3579db0537c460f4dc2631f258e1c116eb4ea tar xf $TERMUX_PKG_CACHEDIR/glktermw-104.tar.gz }