From 99082bce4814812c437f23b187f4ea22e52e4f4b Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 10 Mar 2017 03:47:39 +0100 Subject: [PATCH] New package: myrddin-0.1 --- srcpkgs/myrddin/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/myrddin/template diff --git a/srcpkgs/myrddin/template b/srcpkgs/myrddin/template new file mode 100644 index 00000000000..56e610a61bd --- /dev/null +++ b/srcpkgs/myrddin/template @@ -0,0 +1,20 @@ +# Template file for 'myrddin' +pkgname=myrddin +version=0.1 +revision=1 +wrksrc=mc +only_for_archs="x86_64 x86_64-musl" +build_style=configure +configure_args="--prefix=/usr" +hostmakedepends="bison" +short_desc="Myrddin systems programming language compiler and tools" +maintainer="Duncaen " +license="MIT" +homepage="https://myrlang.org/" +distfiles="https://myrlang.org/releases/myrddin-${version}.tar.xz" +checksum=d42d7c7f33c0e706b019e5f67fb69b03f51fecf94c43fd3ba0372b987c3d3b8b + +pre_build() { + export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2//} + sed -e 's/-Werror//g' -i mk/c.mk +}