55f76f139a
This is used for cross-compilation things too, so lib64 must not appear here.
28 lines
771 B
Bash
28 lines
771 B
Bash
# Template file for 'janet'
|
|
pkgname=janet
|
|
version=1.22.0
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Db_lto=false --libdir=/usr/lib" # 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=7c6969f8e82badc7afa28aa1054555c1c91d2858f9f45c41a82557f5c5ce85bd
|
|
|
|
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
|
|
}
|
|
}
|