diff --git a/srcpkgs/gitoxide/template b/srcpkgs/gitoxide/template new file mode 100644 index 00000000000..769c7ff2b45 --- /dev/null +++ b/srcpkgs/gitoxide/template @@ -0,0 +1,19 @@ +# Template file for 'gitoxide' +pkgname=gitoxide +version=0.20.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config cmake" +makedepends="zlib-devel openssl-devel" +short_desc="Idiomatic, lean, fast and safe pure Rust implementation of Git" +maintainer="Jan Christian Grünhage " +license="MIT, Apache-2.0" +homepage="https://github.com/Byron/gitoxide" +changelog="https://github.com/Byron/gitoxide/raw/main/CHANGELOG.md" +distfiles="https://github.com/Byron/gitoxide/archive/refs/tags/v${version}.tar.gz" +checksum=4ef4681b643d1a5b9ca6ae694234441af4c99806fa43a6847a6e4a61df1bb1cd + +post_install() { + vlicense LICENSE-APACHE + vlicense LICENSE-MIT +} diff --git a/srcpkgs/gitoxide/update b/srcpkgs/gitoxide/update new file mode 100644 index 00000000000..c19289437c3 --- /dev/null +++ b/srcpkgs/gitoxide/update @@ -0,0 +1,2 @@ +site='https://raw.githubusercontent.com/rust-lang/crates.io-index/master/gi/to/gitoxide' +pattern='"vers":"\K[\d.]+(?=",)'