aboutsummaryrefslogtreecommitdiffstats
path: root/community/broot/APKBUILD
blob: d1a4768b5b67ffbd4c8401bb18de4a8236fb8f20 (plain) (blame)
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
29
30
31
32
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=broot
pkgver=1.6.5
pkgrel=1
pkgdesc="New way to see and navigate directory trees"
url="https://github.com/Canop/broot"
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # limited by rust/cargo
license="MIT"
makedepends="cargo libgit2-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Canop/broot/archive/v$pkgver.tar.gz
	minimize-size.patch
	"

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

check() {
	cargo test --locked
}

package() {
	install -Dm0755 target/release/broot "$pkgdir"/usr/bin/broot
	install -Dm0644 man/page "$pkgdir"/usr/share/man/man1/broot.1
}

sha512sums="
8bc9cd9e7a3dc989c629fdf7d0b5a627bd0a5a24705abe67ca3d8453c1e465bae6e0545bca736f5459904b99ee1348b1148e5afebc12b9a8b1f20d80b9329d49  broot-1.6.5.tar.gz
05bbce2c8553beba42d13e50de87e4a320aed45787d788269388e04408cf9325dba5cd44ce24c30547483e7b6e9561d3aca17e06ca2b8097fc24a387395dac0b  minimize-size.patch
"