aboutsummaryrefslogtreecommitdiffstats
path: root/community/httm/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/httm/APKBUILD')
-rw-r--r--community/httm/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/httm/APKBUILD b/community/httm/APKBUILD
new file mode 100644
index 00000000000..ae531ad2503
--- /dev/null
+++ b/community/httm/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=httm
+pkgver=0.37.9
+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="
+f148e9fc0c0f78a6d3fc7237694d9aaf07add6704d2559b9d47b9169516c608dd875a853f15ea2ee85f48c71fcfbb4b2d6862327e8f9bfb42e2151928fc2d626 httm-0.37.9.tar.gz
+"