aports/testing/vivid/APKBUILD
psykose 585296d7b7 */*: remove riscv64 textrels exceptions
these are fixed since 6369666f904d8965cbefa2315a54b4aac54fc359
any remaining cases are most likely 'real textrels', i.e. broken
binaries that won't run, and need more investigation
2023-05-29 04:37:03 +02:00

34 lines
827 B
Plaintext

# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=vivid
pkgver=0.9.0
pkgrel=1
pkgdesc="Themeable LS_COLORS generator with a rich filetype database"
url="https://github.com/sharkdp/vivid"
arch="all"
license="Apache-2.0 AND MIT"
makedepends="cargo cargo-auditable"
source="$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/vivid/archive/refs/tags/v$pkgver.tar.gz"
export CARGO_PROFILE_RELEASE_OPT_LEVEL="z"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --frozen
}
package() {
install -Dm755 target/release/vivid -t "$pkgdir"/usr/bin/
}
sha512sums="
fa5be2fdde6c157f0827c457a9b4642a4830994f8adc196ee0cb98032726eec97c538caa430712334acbd6310ad6e47bb3bc8c2bbd6bc786dfde61b6b6906818 vivid-0.9.0.tar.gz
"