27 lines
710 B
Bash
27 lines
710 B
Bash
# Template file for 'git-series'
|
|
pkgname=git-series
|
|
version=0.9.0
|
|
revision=1
|
|
hostmakedepends="cargo cmake pkg-config rust perl"
|
|
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=dcc8957d83cf79e63a6baa3f2ece8862839767305e4a0a7820709d362eac89d5
|
|
nocross=yes
|
|
|
|
post_extract() {
|
|
sed -i '/^git2 =/s/=.*/= "0.5"/' Cargo.toml
|
|
}
|
|
do_build() {
|
|
export LIBGIT2_SYS_USE_PKG_CONFIG=yes
|
|
cargo build --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/git-series
|
|
vman git-series.1
|
|
}
|