New package: wren-cli-0.3.0

This commit is contained in:
cinerea 2020-06-29 11:46:09 -04:00 committed by Danh Doan
parent c677edf2b3
commit 2686da7247

28
srcpkgs/wren-cli/template Normal file
View file

@ -0,0 +1,28 @@
# 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
}