mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 00:02:17 +01:00
35 lines
997 B
Plaintext
35 lines
997 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=httm
|
|
pkgver=0.30.4
|
|
pkgrel=0
|
|
pkgdesc="Interactive, file-level Time Machine-like tool for ZFS/btrfs"
|
|
url="https://github.com/kimono-koans/httm"
|
|
# riscv64: TODO
|
|
# s390x: fails to build nix crate
|
|
arch="all !riscv64 !s390x"
|
|
license="MPL-2.0"
|
|
makedepends="cargo acl-dev cargo-auditable"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/kimono-koans/httm/archive/refs/tags/$pkgver/httm-$pkgver.tar.gz"
|
|
options="net !check" # no tests provided
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --frozen --release --features acls
|
|
}
|
|
|
|
package() {
|
|
install -D -m755 target/release/$pkgname -t "$pkgdir"/usr/bin/
|
|
install -D -m644 $pkgname.1 -t "$pkgdir"/usr/share/man/man1/
|
|
}
|
|
|
|
sha512sums="
|
|
a9c9cbdf5a8eb06125438f1392d0bab8f9806e6ad213c88dcb58139b7e7242cadf1370d58d3709026e06301f4506ef3882088fd4792ec36f87d1f131ae26e5a8 httm-0.30.4.tar.gz
|
|
"
|