void-packages/srcpkgs/sentry-native/template

29 lines
847 B
Bash

# Template file for 'sentry-native'
pkgname=sentry-native
version=0.7.7
revision=1
build_style=cmake
configure_args="-DSENTRY_BACKEND=inproc -DSENTRY_TRANSPORT=none"
short_desc="Sentry SDK for C, C++ and native applications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/getsentry/sentry-native"
changelog="https://github.com/getsentry/sentry-native/raw/master/CHANGELOG.md"
distfiles="https://github.com/getsentry/sentry-native/archive/refs/tags/${version}.tar.gz"
checksum="3b785c3794867450a54c45eb9d22ab6fb5e49b6eb8abde27660ab2741b846d6a"
# XXX: various minor failures
make_check=no
post_install() {
vlicense LICENSE
}
sentry-native-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}