void-packages/srcpkgs/lily/template

26 lines
683 B
Bash

# Template file for 'lily'
pkgname=lily
version=1.9
revision=1
wrksrc="lily-v${version}"
build_style=cmake
short_desc="Interpreted language with a focus on expressiveness and type safety"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="https://gitlab.com/FascinatedBox/lily"
distfiles="https://gitlab.com/FascinatedBox/lily/-/archive/v${version}/lily-v${version}.tar.bz2"
checksum=81abc5809f34fb04cbef7cf8ef782edd582b6d34996dab57e57298d6d807fe3b
post_install() {
vlicense license.txt
}
lily-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}