void-packages/srcpkgs/angle-grinder/template

25 lines
792 B
Bash

# Template file for 'angle-grinder'
pkgname=angle-grinder
version=0.15.0
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Slice and dice logs on the command line"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/rcoh/angle-grinder"
distfiles="https://github.com/rcoh/angle-grinder/archive/v${version}.tar.gz"
checksum=5359d6e241eca2bc3bdb7ddf9344b4ef8315cbe7629775c09e0ab7ed70310c8d
#nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/26343/steps/shell_3/logs/stdio"
post_extract() {
# get rid of rustls and therefore ring dependency
# https://github.com/rcoh/angle-grinder/issues/124
vsed -i '/self_update/s/"rustls"/"default"/' Cargo.toml
}
post_install() {
vlicense LICENSE
}