void-packages/srcpkgs/janet/template
2022-02-03 13:59:03 +01:00

28 lines
753 B
Bash

# Template file for 'janet'
pkgname=janet
version=1.20.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/"
changelog="https://github.com/janet-lang/janet/blob/master/CHANGELOG.md"
distfiles="https://github.com/janet-lang/janet/archive/v${version}.tar.gz"
checksum=cc2e617e2bdffaeca0fc330c890c73a83e2211b4ff65555d58973c47376bf5b1
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
}
}