void-packages/srcpkgs/diffr/template

19 lines
619 B
Bash

# Template file for 'diffr'
pkgname=diffr
version=0.1.2
revision=1
build_style=cargo
short_desc="LCS based diff highlighting tool to ease code review from your terminal"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="MIT"
homepage="https://github.com/mookid/diffr"
changelog="https://github.com/mookid/diffr/raw/master/CHANGELOG.md"
distfiles="https://github.com/mookid/diffr/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=76767fec7bcec1f86ed0c21c05ce4fee3ac41e00f2b88e91249102b02c0f7307
do_install() {
vbin "target/${RUST_TARGET}/release/diffr"
vlicense LICENSE.txt
vdoc README.md
}