Compare commits

...

No commits in common. "main" and "cargo-license" have entirely different histories.

3 changed files with 42 additions and 3 deletions

13
.SRCINFO Normal file
View file

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

29
PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=cargo-license
pkgver=0.5.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=('6ac98b5dce2036fb2a51b54aa80ec9a8fbd5c03570bcbe7794ad06ad8be59c8e')
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
}

View file

@ -1,3 +0,0 @@
# aur.git
This is a experimental mirror of the aur.git repository backing [the AUR](https://aur.archlinux.org).