void-packages/srcpkgs/git-series/template

28 lines
710 B
Bash
Raw Normal View History

2016-08-18 13:51:24 +02:00
# Template file for 'git-series'
pkgname=git-series
2016-11-22 13:39:22 +01:00
version=0.9.1
2016-10-31 11:11:22 +01:00
revision=1
2016-11-14 14:18:10 +01:00
hostmakedepends="cargo cmake pkg-config rust perl"
2016-08-18 13:51:24 +02:00
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"
2016-08-20 16:35:47 +02:00
distfiles="https://github.com/git-series/git-series/archive/${version}.tar.gz"
2016-11-22 13:39:22 +01:00
checksum=c0362e19d3fa168a7cb0e260fcdecfe070853b163c9f2dfd2ad8213289bc7e5f
2016-08-18 13:54:06 +02:00
nocross=yes
2016-08-18 13:51:24 +02:00
post_extract() {
sed -i '/^git2 =/s/=.*/= "0.5"/' Cargo.toml
}
2016-08-18 13:51:24 +02:00
do_build() {
export LIBGIT2_SYS_USE_PKG_CONFIG=yes
cargo build --release
}
do_install() {
vbin target/release/git-series
vman git-series.1
}