From 07c3db9f5761c59defedd820619beb3aeea6b324 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Mon, 3 Apr 2023 11:03:16 +0200 Subject: [PATCH] New package: lychee-0.11.1 --- srcpkgs/lychee/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/lychee/template diff --git a/srcpkgs/lychee/template b/srcpkgs/lychee/template new file mode 100644 index 000000000000..d2b0a1081682 --- /dev/null +++ b/srcpkgs/lychee/template @@ -0,0 +1,27 @@ +# Template file for 'lychee' +pkgname=lychee +version=0.11.1 +revision=1 +build_style=cargo +make_install_args="--path lychee-bin" +hostmakedepends="pkg-config" +makedepends="openssl-devel" +short_desc="Fast, async, stream-based link checker written in Rust" +maintainer="Stefan Kreutz " +license="Apache-2.0, MIT" +homepage="https://lychee.cli.rs" +changelog="https://github.com/lycheeverse/lychee/releases" +distfiles="https://github.com/lycheeverse/lychee/archive/refs/tags/v${version}.tar.gz" +checksum=b5ed41f8c91e888d1aab841df6adb265281344ebf0ac9ab9050b11700fd84d7e + +pre_build() { + cargo update --package spin@0.9.4 --precise 0.9.8 + cargo update --package openssl@0.10.44 --precise 0.10.49 + cargo update --package tempfile@3.3.0 --precise 3.4.0 + cargo update --package openssl-src@111.24.0+1.1.1s --precise 111.25.2+1.1.1t +} + +post_install() { + vlicense LICENSE-APACHE + vlicense LICENSE-MIT +}