diff options
author | Funami | 2021-08-27 19:14:36 +0200 |
---|---|---|
committer | Funami | 2021-08-27 19:14:36 +0200 |
commit | 3b6c60340595e024d02325957def4f5e9e106262 (patch) | |
tree | 2b9a34e2f61adf27a50fb1a7310ff6628a993aa9 | |
download | aur-3b6c60340595e024d02325957def4f5e9e106262.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c8d674327882 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = cargo-nono + pkgdesc = A cargo subcommand to detect (possible) no_std compatibility of your crate and dependencies + pkgver = 0.1.9 + pkgrel = 1 + url = https://github.com/hobofan/cargo-nono + arch = x86_64 + license = APACHE + license = MIT + makedepends = cargo + source = cargo-nono-0.1.9.tar.gz::https://static.crates.io/crates/cargo-nono/cargo-nono-0.1.9.crate + sha256sums = d197cd6cea7c40ae9ad969d7bd1cc79573c3cbe9619cfd201fcba7bfaf29dc0a + +pkgname = cargo-nono diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..811c9fe2e2d5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Funami + +pkgname=cargo-nono +pkgver=0.1.9 +pkgrel=1 +pkgdesc="A cargo subcommand to detect (possible) no_std compatibility of your crate and dependencies" +url="https://github.com/hobofan/cargo-nono" +license=('APACHE' 'MIT') +arch=('x86_64') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate") +sha256sums=('d197cd6cea7c40ae9ad969d7bd1cc79573c3cbe9619cfd201fcba7bfaf29dc0a') + +build() { + cd "$pkgname-$pkgver" + cargo build --release +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin" + install -Dm644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname" +} |