void-packages/srcpkgs/diffr/template
2020-05-31 12:41:02 +02:00

19 lines
639 B
Bash

# Template file for 'diffr'
pkgname=diffr
version=0.1.4
revision=1
build_style=cargo
short_desc="LCS based diff highlighting tool to ease code review from your terminal"
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
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=2613b57778df4466a20349ef10b9e022d0017b4aee9a47fb07e78779f444f8cb
patch_args="-Np1"
do_install() {
vbin "target/${RUST_TARGET}/release/diffr"
vlicense LICENSE.txt
vdoc README.md
}