void-packages/srcpkgs/cargo-about/template

27 lines
868 B
Bash

# Template file for 'cargo-about'
pkgname=cargo-about
version=0.6.1
revision=1
# depends on rustls/ring
archs="x86_64* aarch64* i686* arm*"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libzstd-devel"
short_desc="Cargo plugin to generate list of all licenses for a crate"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, Apache-2.0"
homepage="https://github.com/EmbarkStudios/cargo-about"
changelog="https://raw.githubusercontent.com/EmbarkStudios/cargo-about/main/CHANGELOG.md"
distfiles="https://github.com/EmbarkStudios/cargo-about/archive/refs/tags/${version}.tar.gz"
checksum=8ef8f0e2048b10fd2048db27c5400dd1d18be9e4a3a4735b4b7472debffecf38
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
broken="broken on architectures without atomic8"
fi
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT
vdoc README.md
}