From 9db5b48fe7502059daf4e04d4ba44f3c56328c95 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 16 Jun 2019 15:02:39 +0300 Subject: [PATCH] new package: unifdef --- packages/unifdef/build.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/unifdef/build.sh diff --git a/packages/unifdef/build.sh b/packages/unifdef/build.sh new file mode 100644 index 000000000..1914bd09d --- /dev/null +++ b/packages/unifdef/build.sh @@ -0,0 +1,14 @@ +TERMUX_PKG_HOMEPAGE=http://dotat.at/prog/unifdef/ +TERMUX_PKG_DESCRIPTION="Remove #ifdef'ed lines" +TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_MAINTAINER="Leonid Plyushch " +TERMUX_PKG_VERSION=2.11 +TERMUX_PKG_REVISION=4 +TERMUX_PKG_SRCURL=https://dotat.at/prog/unifdef/unifdef-$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_SHA256=e8483c05857a10cf2d5e45b9e8af867d95991fab0f9d3d8984840b810e132d98 +TERMUX_PKG_BUILD_IN_SRC=true + +termux_step_make_install() { + install -Dm700 unifdef "$TERMUX_PREFIX"/bin/ + install -Dm600 unifdef.1 "$TERMUX_PREFIX"/share/man/man1/ +}