31 lines
870 B
Bash
31 lines
870 B
Bash
# Template file for 'editorconfig'
|
|
pkgname=editorconfig
|
|
version=0.12.4
|
|
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="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=c2671595f1793b498cdf50b9dc03d632cc724891de7909f2ea78588fbffba289
|
|
|
|
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
|
|
}
|
|
}
|