mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-24 06:51:37 +01:00
34 lines
972 B
Plaintext
34 lines
972 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=httm
|
|
pkgver=0.43.2
|
|
pkgrel=0
|
|
pkgdesc="Interactive, file-level Time Machine-like tool for ZFS/btrfs"
|
|
url="https://github.com/kimono-koans/httm"
|
|
# s390x: fails to build nix crate
|
|
arch="all !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="
|
|
5cc8ca15eff55147e0e417c6a8dc023caf38e9d6c630c9e3768377eacd8254c997431b7601715e4fe79d8ee1a2870659f7578ffde80c5339205ca89567d66388 httm-0.43.2.tar.gz
|
|
"
|