void-packages/srcpkgs/wren-cli/template

29 lines
726 B
Bash

# Template file for 'wren-cli'
pkgname=wren-cli
version=0.3.0
revision=1
build_wrksrc=projects/make
build_style=gnu-makefile
make_build_args="config=release_${XBPS_TARGET_WORDSIZE}bit"
checkdepends="python3"
short_desc="Small, class-based, concurrent scripting language - CLI"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="MIT"
homepage="http://wren.io/cli"
distfiles="https://github.com/wren-lang/wren-cli/archive/${version}.tar.gz"
checksum=a498d2ccb9a723e7163b4530efbaec389cc13e6baaf935e16cbd052a739b7265
post_patch() {
vsed -i -e 's/ -m64 / /;s/ -m32 / /;s/ -O3//' wren_cli.make
}
do_check() {
cd ../..
python3 util/test.py
}
do_install() {
vbin ${wrksrc}/bin/wren_cli wren
vlicense ${wrksrc}/LICENSE
}