void-packages/srcpkgs/pipr/template

24 lines
632 B
Bash

# Template file for 'pipr'
pkgname=pipr
version=0.0.16
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="oniguruma-devel"
short_desc="Tool for writing interactive shell pipelines"
maintainer="Emil Miler <em@0x45.cz>"
license="MIT"
homepage="https://github.com/elkowar/pipr"
distfiles="https://github.com/elkowar/pipr/archive/v${version}/pipr-${version}.tar.gz"
checksum=4be6f79ff25f69efe6d4fe45bdc0b751b3adc8de33a2dc825073d59e5d50d3d0
post_extract() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg@1.0.1 --precise 1.1.0
}
post_install() {
vdoc Readme.md
vlicense LICENSE
}