new package: await

This commit is contained in:
Tee KOBAYASHI 2022-01-16 12:25:18 +09:00 committed by Leonid Pliushch
parent b5e1068c50
commit 4a688ba145

15
packages/await/build.sh Normal file
View File

@ -0,0 +1,15 @@
TERMUX_PKG_HOMEPAGE=https://await-cli.app/
TERMUX_PKG_DESCRIPTION="Runs list of commands in parallel and waits for their termination"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.91
TERMUX_PKG_SRCURL=https://github.com/slavaGanzin/await/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5970d8effb605210dceeabd01bc617af914b7e63e29e39a25e64758515796103
termux_step_make() {
$CC $CPPFLAGS $CFLAGS "$TERMUX_PKG_SRCDIR"/await.c -o await $LDFLAGS
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin await
}