# Template file for 'cargo-aoc'
pkgname=cargo-aoc
version=0.3.2
revision=2
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 <jan.christian@gruenhage.xyz>"
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.30
	cargo update --package openssl-sys --precise 0.9.58
}

post_install() {
	vlicense LICENSE-MIT
	vlicense LICENSE-APACHE
}
