28 lines
680 B
Bash
28 lines
680 B
Bash
# Template file for 'janet'
|
|
pkgname=janet
|
|
version=1.15.4
|
|
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=8eed302c8ded1df882544d13ce7e415b213cf7bc8fa77ca16110c89b36d19763
|
|
|
|
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
|
|
}
|
|
}
|