aports/testing/hex/APKBUILD
2023-05-23 23:53:08 +02:00

30 lines
793 B
Plaintext

# Contributor: guddaff <guddaff@protonmail.com>
# Maintainer: guddaff <guddaff@protonmail.com>
pkgname=hex
pkgver=0.4.2
pkgrel=2
pkgdesc="futuristic take on hexdump"
url="https://github.com/sitkevij/hex"
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # limited by rust/cargo
license="MIT"
makedepends="cargo cargo-auditable"
source="$pkgname-$pkgver.tar.gz::https://github.com/sitkevij/hex/archive/refs/tags/v$pkgver.tar.gz"
build() {
cargo auditable build --release --locked
}
check() {
cargo test --release --locked
}
package() {
cargo auditable install --locked --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates*
}
sha512sums="
5b5706d931c4f6a9a21de5e883b264c9a2831a8be463a5283ac4cd3552eb44c480f45779fa6364dd97390a2d38f252b44313e4567186ec42c594451f295e648f hex-0.4.2.tar.gz
"