From 4e6ca2e73eb3755581a9253048f32c016ac9775e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Wed, 11 Dec 2019 13:32:18 +0100 Subject: [PATCH] New package: cargo-aoc-0.3.2 --- srcpkgs/cargo-aoc/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/cargo-aoc/template diff --git a/srcpkgs/cargo-aoc/template b/srcpkgs/cargo-aoc/template new file mode 100644 index 00000000000..b7d9be9ebdc --- /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 +}