aboutsummaryrefslogtreecommitdiffstats
path: root/testing/broot/APKBUILD
blob: 96cd3490f04df199d824a4b2907ff606149355aa (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=broot
pkgver=0.12.1
pkgrel=0
pkgdesc="New way to see and navigate directory trees"
url="https://github.com/Canop/broot"
arch="all !s390x"
license="MIT"
makedepends="cargo"
source="$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/broot/$pkgver/download"

build() {
	cargo build --release --locked
}

check() {
	cargo test --release --locked
}

package() {
	install -Dm0755 target/release/broot "$pkgdir"/usr/bin/broot
}

sha512sums="e5a4bb4f89ad6c9287b059fbf6b1c78fb4b63ae985ff3b990f2665946ae7208fe82af89ae254bcd50b25296dfd6d7e7245de3a2baf15ffd3372d84c21306f449  broot-0.12.1.tar.gz"