25 lines
707 B
Bash
25 lines
707 B
Bash
# 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 <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.26
|
|
cargo update --package openssl-sys --precise 0.9.53
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vlicense LICENSE-APACHE
|
|
}
|