vp-build/srcpkgs/myrddin/template

25 lines
626 B
Bash

# Template file for 'myrddin'
pkgname=myrddin
version=0.3.1
revision=1
wrksrc=mc
only_for_archs="x86_64 x86_64-musl"
build_style=configure
configure_args="--prefix=/usr"
make_build_target="bootstrap"
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=efb8d73e8e237f836460f46507b7fcd54a174497b9ed8782d7f0a2a2e31915b3
post_install() {
vlicense LICENSE
}
pre_build() {
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2//}
}