void-packages/srcpkgs/janet/template

27 lines
635 B
Bash

# Template file for 'janet'
pkgname=janet
version=1.12.2
revision=1
build_style=meson
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=1cdbc4e944fb429a80bb415b657fc955579a4d7b1206fed9b32b9c60b20e477c
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
}
}