blob: 4c176bacf5cc88717e664075688d9f6db2c9373e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: nickl <nick.lanham.nexus+aur@gmail.com>
pkgname=click
pkgdir="pkg-build"
pkgdesc="Click CLI for Kubernetes"
pkgver=0.4.3
pkgrel=1
arch=('i686' 'x86_64' 'arm64')
url="https://github.com/databricks/click"
license=('apache2')
makedepends=('rust')
source=("https://github.com/databricks/click/archive/v${pkgver}.tar.gz")
sha256sums=('2f7f2cd2c53ef1fefe251ddf5f69fa5d6128c1776800a12461495f3e1af24c8b')
build() {
cd "$srcdir/click-$pkgver"
cargo build --release --locked --all-features
}
check() {
cd "$srcdir/click-$pkgver"
cargo test --release --locked
}
package() {
install -Dm 755 "$srcdir/click-$pkgver/target/release/click" "$pkgdir/usr/bin/click"
}
|