void-packages/srcpkgs/janet/template
2020-06-19 18:13:10 +02:00

28 lines
653 B
Bash

# Template file for 'janet'
pkgname=janet
version=1.10.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=5d830a01ced5b97f99b9c71a9d869751df72266a88eb7b3ff7a8bff9da39afde
patch_args="-Np1"
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
}
}