void-packages/srcpkgs/lua53-editorconfig-core/template

28 lines
854 B
Bash

# Template file for 'lua53-editorconfig-core'
pkgname=lua53-editorconfig-core
version=0.3.0
revision=1
wrksrc=editorconfig-core-lua-${version}
build_style=cmake
makedepends="editorconfig-devel lua53-devel"
short_desc="EditorConfig core library written in Lua (5.3.x)"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/editorconfig/editorconfig-core-lua"
distfiles="https://github.com/editorconfig/editorconfig-core-lua/archive/v${version}.tar.gz"
checksum=2dfb764a89e339d9c9140de241ea6b9162c295e78bc3e946c5ce6f40784a74c4
do_install() {
vinstall build/editorconfig.so 755 usr/lib/lua/5.3/
}
post_install() {
vlicense LICENSE
}
editorconfig-core-lua_package() {
depends="lua53-editorconfig-core>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
build_style=meta
}