diff --git a/srcpkgs/git-series/template b/srcpkgs/git-series/template new file mode 100644 index 0000000000..0492d8b98e --- /dev/null +++ b/srcpkgs/git-series/template @@ -0,0 +1,23 @@ +# Template file for 'git-series' +pkgname=git-series +version=0.8.9 +revision=1 +hostmakedepends="cargo cmake pkg-config rust" +makedepends="libgit2-devel" +depends="git" +short_desc="Track patch series in git" +maintainer="Christian Neukirchen " +license="MIT" +homepage="https://github.com/git-series/git-series" +distfiles="https://github.com/git-series/git-series/archive/v${version}.tar.gz" +checksum=1da05232405db08c0d641d52b89a9b6b7cc1e9496590e0f503b13ba010598e23 + +do_build() { + export LIBGIT2_SYS_USE_PKG_CONFIG=yes + cargo build --release +} + +do_install() { + vbin target/release/git-series + vman git-series.1 +}