void-packages/srcpkgs/editorconfig/template
2018-11-16 18:17:58 -02:00

29 lines
796 B
Bash

# Template file for 'editorconfig'
pkgname=editorconfig
version=0.12.3
revision=1
wrksrc="editorconfig-core-c-${version}"
build_style=cmake
makedepends="pcre2-devel"
short_desc="EditorConfig core library written in C"
maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-2-Clause"
homepage="http://editorconfig.org/"
distfiles="https://github.com/editorconfig/editorconfig-core-c/archive/v${version}.tar.gz"
checksum=64edf79500e104e47035cace903f5c299edba778dcff71b814b7095a9f14cbc1
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
}
}