diff --git a/srcpkgs/cargo-aoc/template b/srcpkgs/cargo-aoc/template new file mode 100644 index 0000000000..b7d9be9ebd --- /dev/null +++ b/srcpkgs/cargo-aoc/template @@ -0,0 +1,24 @@ +# Template file for 'cargo-aoc' +pkgname=cargo-aoc +version=0.3.2 +revision=1 +build_wrksrc=cargo-aoc +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libressl-devel" +short_desc="CLI helper tool for advent of code in rust" +maintainer="Jan Christian Grünhage " +license="MIT, Apache-2.0" +homepage="https://github.com/gobanos/cargo-aoc" +distfiles="https://github.com/gobanos/cargo-aoc/archive/${version}.tar.gz" +checksum=2a33a861a03087690cc2ab690567c3ab906c5b31a53d96159e9d552e14ecc960 + +pre_build() { + cargo update --package openssl --precise 0.10.26 + cargo update --package openssl-sys --precise 0.9.53 +} + +post_install() { + vlicense LICENSE-MIT + vlicense LICENSE-APACHE +}