aboutsummaryrefslogtreecommitdiffstats
path: root/testing/broot/APKBUILD
blob: 985ffd53051b2c6cc51243372cf1f4bdc64ed2bb (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=broot
pkgver=1.0.8
pkgrel=0
pkgdesc="New way to see and navigate directory trees"
url="https://github.com/Canop/broot"
arch="all !s390x !mips !mips64 !ppc64le" # blocked by cargo, ppc64le: build failure
license="MIT"
makedepends="cargo"
subpackages="$pkgname-doc"
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
	install -Dm0644 man/page "$pkgdir"/usr/share/man/man1/broot.1
}

sha512sums="aa7480ece80aca38001225b9c84bf4135a1fa64fc5ba9c2e649604793c47777a732b8ac7a5aca5cb9efb37d5543fb3942f0b8f8b7f431bf6ace819cf14b71e4a  broot-1.0.8.tar.gz"