void-packages/srcpkgs/janet/template
2021-08-26 13:33:39 +02:00

27 lines
680 B
Bash

# Template file for 'janet'
pkgname=janet
version=1.17.0
revision=1
build_style=meson
configure_args="-Db_lto=false" # breaks jpm
short_desc="Dynamic Lisp dialect and bytecode VM"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://janet-lang.org/"
distfiles="https://github.com/janet-lang/janet/archive/v${version}.tar.gz"
checksum=45126be7274e0a298dcbe356b5310bd9328c94eb3a562316813fa9774ca34bcc
post_install() {
vlicense LICENSE
}
janet-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}