1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 12:40:30 +01:00

Deleted package: cargo-license

Moved into [extra]
This commit is contained in:
2024-01-25 09:01:36 +01:00
parent f764e3d6b6
commit 1b710bff7a
2 changed files with 0 additions and 42 deletions

View File

@@ -1,13 +0,0 @@
pkgbase = cargo-license
pkgdesc = Cargo subcommand to see license of dependencies
pkgver = 0.6.0
pkgrel = 1
url = https://github.com/onur/cargo-license
arch = x86_64
license = MIT
makedepends = cargo
depends = gcc-libs
source = cargo-license-0.6.0.tar.gz::https://github.com/onur/cargo-license/archive/v0.6.0.tar.gz
sha256sums = 3aa8bf5482aaf83c979ce4f9b5a9f2bd5cf8f71f99ab83c4ce52ed12f804009f
pkgname = cargo-license

View File

@@ -1,29 +0,0 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=cargo-license
pkgver=0.6.0
pkgrel=1
pkgdesc="Cargo subcommand to see license of dependencies"
arch=(x86_64)
url="https://github.com/onur/cargo-license"
license=('MIT')
depends=(gcc-libs)
makedepends=(cargo)
source=("$pkgname-$pkgver.tar.gz::https://github.com/onur/cargo-license/archive/v$pkgver.tar.gz")
sha256sums=('3aa8bf5482aaf83c979ce4f9b5a9f2bd5cf8f71f99ab83c4ce52ed12f804009f')
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
check() {
cd "$pkgname-$pkgver"
# Test in release mode to avoid recompiling everything
cargo test --release
}
package() {
cd "$pkgname-$pkgver"
install -D -t "$pkgdir/usr/bin" target/release/cargo-license
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}