f876f232f5
[ci skip]
25 lines
675 B
Bash
25 lines
675 B
Bash
# Template file for 'git-series'
|
|
pkgname=git-series
|
|
version=0.9.1
|
|
revision=10
|
|
build_style=cargo
|
|
hostmakedepends="cmake pkg-config perl"
|
|
makedepends="libgit2-devel libcurl-devel"
|
|
depends="git"
|
|
short_desc="Track patch series in git"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/git-series/git-series"
|
|
distfiles="https://github.com/git-series/git-series/archive/${version}.tar.gz"
|
|
checksum=c0362e19d3fa168a7cb0e260fcdecfe070853b163c9f2dfd2ad8213289bc7e5f
|
|
|
|
post_extract() {
|
|
sed -i '/^git2 =/s/=.*/= "0.5"/' Cargo.toml
|
|
}
|
|
pre_build() {
|
|
export LIBGIT2_SYS_USE_PKG_CONFIG=yes
|
|
}
|
|
post_install() {
|
|
vman git-series.1
|
|
vlicense LICENSE.txt
|
|
}
|