mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 18:04:54 +02:00
33 lines
974 B
Text
33 lines
974 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=httm
|
|
pkgver=0.46.10
|
|
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="
|
|
87c81af0b79bff111d20e2238123a9aa6717ac9ab6a680b8d09911d7d55e6ecc2b05d8713d652502876b4526f96a22112f531f8fa0d10b28145f1688f1546ebb httm-0.46.10.tar.gz
|
|
"
|