From 6fc639de37cee4cc54919104bf1bde6f0d8386d8 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Wed, 24 Feb 2021 21:17:00 -0800 Subject: [PATCH] New package: shc-4.0.3_1 --- srcpkgs/shc/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/shc/template diff --git a/srcpkgs/shc/template b/srcpkgs/shc/template new file mode 100644 index 00000000000..ddc4683d7a2 --- /dev/null +++ b/srcpkgs/shc/template @@ -0,0 +1,19 @@ +# Template file for 'shc' +pkgname=shc +version=4.0.3 +revision=1 +build_style=gnu-configure +hostmakedepends="tcsh rc ksh zsh" +short_desc="Converts shell script to C source code, and then compiles it" +maintainer="Michael Taboada " +license="GPL-3.0-or-later" +homepage="https://github.com/neurobin/shc" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum="7d7fa6a9f5f53d607ab851d739ae3d3b99ca86e2cb1425a6cab9299f673aee16" + +pre_check() { + # Remove ash from the list of shells because it's not a package on void. + sed -i "s;'/bin/ash';;g" "$wrksrc/test/ttest.sh" + # Also remove dash, since installing it as a host dependency conflicts with chroot-bash + sed -i "s;'/bin/dash';;g" "$wrksrc/test/ttest.sh" +}