void-packages/srcpkgs/corecollector/template
2020-10-31 12:15:36 -03:00

28 lines
889 B
Bash

# Template file for 'corecollector'
pkgname=corecollector
version=0.3.5
revision=1
build_style=meson
configure_args="-Dcoredump_user=_corecollector -Dcoredump_group=_corecollector"
conf_files="/etc/corecollector/corecollector.conf"
hostmakedepends="dmd git pkg-config scdoc"
depends="gdb"
short_desc="Coredump collector written in D"
maintainer="travankor <travankor@tuta.io>"
license="GPL-3.0-or-later"
homepage="https://github.com/Cogitri/corecollector"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=0b9e212ffde1b63024744ccb437504a8ca56d091c1bfd193095b52e0c8a70db6
nocross="only gcc-gdc(unpackaged as of 3/2020) has cross support"
system_accounts="_corecollector"
corecollector-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}