aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-09-22 23:36:22 +0000
committerpsykose <alice@ayaya.dev>2022-09-23 01:36:29 +0200
commite45fb075bbe468b9f1e714dedaeceb4c8191cb41 (patch)
tree2e94c38796c802629e7a442d3aa6c009a4e3f9ba
parent2001ebbf74cad3935b6668ec66a76c844d1ec8e5 (diff)
downloadaports-e45fb075bbe468b9f1e714dedaeceb4c8191cb41.tar.gz
aports-e45fb075bbe468b9f1e714dedaeceb4c8191cb41.tar.bz2
aports-e45fb075bbe468b9f1e714dedaeceb4c8191cb41.tar.xz
community/cargo-license: upgrade to 0.5.1
-rw-r--r--community/cargo-license/APKBUILD14
1 files changed, 3 insertions, 11 deletions
diff --git a/community/cargo-license/APKBUILD b/community/cargo-license/APKBUILD
index 650796cf24..4d99d411ca 100644
--- a/community/cargo-license/APKBUILD
+++ b/community/cargo-license/APKBUILD
@@ -1,20 +1,13 @@
# Maintainer: psykose <alice@ayaya.dev>
pkgname=cargo-license
-pkgver=0.5.0
+pkgver=0.5.1
pkgrel=0
pkgdesc="Cargo subcommand to see license of dependencies"
url="https://github.com/onur/cargo-license"
arch="all !s390x !riscv64" # rust
license="MIT"
makedepends="cargo"
-source="https://github.com/onur/cargo-license/archive/refs/tags/v$pkgver/cargo-license-v$pkgver.tar.gz
- lock.patch
- "
-
-export CARGO_PROFILE_RELEASE_LTO="true"
-export CARGO_PROFILE_RELEASE_PANIC="abort"
-export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-export CARGO_PROFILE_RELEASE_OPT_LEVEL="s"
+source="$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/cargo-license/$pkgver/download"
prepare() {
default_prepare
@@ -35,6 +28,5 @@ package() {
}
sha512sums="
-345573de167b45e423b549e54da193e26006d209c0f25c46d3b185e85a8b6f0b8e86a4b8c6296cfe7b94198c26ea176f5b4bda71838bbcae4031c14dbc7c4168 cargo-license-v0.5.0.tar.gz
-1b92c6c34f4554e1d8ebb00a4f919bdaedf93aa8286dfe9c34adfb5def7397750105bba6710337dd022384af2f338909c7ba2ad31e31497c1203ad3d8076fa2a lock.patch
+4d8d430df91c6aac53d2305d3125eaeee492324e85c4db29d33d452b3848f33a55088e71247c6c72c6a62f4e924a374a115bf14b4f398e7950b9eb52415f2244 cargo-license-0.5.1.tar.gz
"