void-packages/srcpkgs/myrddin/template

20 lines
558 B
Bash

# Template file for 'myrddin'
pkgname=myrddin
version=0.1.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 <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://myrlang.org/"
distfiles="https://myrlang.org/releases/myrddin-${version}.tar.xz"
checksum=66405cc45d65da8c1a303b785b78c7df782a267810cd368e59ebb85a4da40068
pre_build() {
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2//}
}