void-packages/srcpkgs/janet/template
2020-12-14 10:36:48 +01:00

26 lines
635 B
Bash

# Template file for 'janet'
pkgname=janet
version=1.13.1
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=7d369b72a1fc649f7e5c254e2b746eb36885970504f6d9d3441507ca2d716644
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
}
}