void-packages/srcpkgs/editorconfig/template

30 lines
825 B
Bash

# Template file for 'editorconfig'
pkgname=editorconfig
version=0.12.6
revision=1
build_style=cmake
makedepends="pcre2-devel"
short_desc="EditorConfig core library written in C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://editorconfig.org/"
changelog="https://github.com/editorconfig/editorconfig-core-c/releases"
distfiles="https://github.com/editorconfig/editorconfig-core-c/archive/v${version}.tar.gz"
checksum=36052a5371731d915b53d9c7a24a11c4032585ccacb392ec9d58656eef4c0edf
post_install() {
vlicense LICENSE
}
editorconfig-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}