void-packages/srcpkgs/git-series/template
2016-08-20 16:35:47 +02:00

24 lines
642 B
Bash

# Template file for 'git-series'
pkgname=git-series
version=0.8.10
revision=1
hostmakedepends="cargo cmake pkg-config rust"
makedepends="libgit2-devel"
depends="git"
short_desc="Track patch series in git"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="https://github.com/git-series/git-series"
distfiles="https://github.com/git-series/git-series/archive/${version}.tar.gz"
checksum=d70c9a2105c69fdd6059c04285ddb74b3b10852d9729dd8a14681b9bf36790be
nocross=yes
do_build() {
export LIBGIT2_SYS_USE_PKG_CONFIG=yes
cargo build --release
}
do_install() {
vbin target/release/git-series
vman git-series.1
}