# Template file for 'bcachefs-tools' pkgname=bcachefs-tools reverts="24_1" version=1.6.3 revision=1 build_style=gnu-makefile make_install_args="ROOT_SBINDIR=/usr/bin" make_use_env=yes hostmakedepends="pkg-config cargo clang17-devel llvm liburcu-devel" makedepends="rust attr-devel keyutils-devel libaio-devel libblkid-devel liblz4-devel libscrypt-devel libsodium-devel eudev-libudev-devel liburcu-devel libuuid-devel libzstd-devel zlib-devel" short_desc="Userspace tools for bcachefs" maintainer="Leah Neukirchen " license="GPL-2.0-only" homepage="https://bcachefs.org/" distfiles="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${version}.tar.gz" checksum=59b0f2fdc013cbd7224c3c2cc15b9bf133ced9eecd9e5ea392c6ee600d423b08 export VERSION=v${version} export RUST_TARGET pre_build() { # fuck me sideways why this is necessary, it should be default RUSTFLAGS+=" -C linker=$CC" }