void-packages/srcpkgs/diffr/template

19 lines
619 B
Bash

# Template file for 'diffr'
pkgname=diffr
version=0.1.3
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=7fd8c078a1b94140624a5a021eef059a916f79cdf21cfba7489f83be8fadfaa2
do_install() {
vbin "target/${RUST_TARGET}/release/diffr"
vlicense LICENSE.txt
vdoc README.md
}