diff --git a/srcpkgs/pijul/template b/srcpkgs/pijul/template index 256a20a1abe..ef03c9a7e6c 100644 --- a/srcpkgs/pijul/template +++ b/srcpkgs/pijul/template @@ -1,21 +1,22 @@ # Template file for 'pijul' pkgname=pijul version=0.10.0 -revision=1 -hostmakedepends="cargo pkg-config" +revision=2 +build_style=cargo +hostmakedepends="pkg-config" makedepends="libsodium-devel libressl-devel" short_desc="Distributed version control system based on patches" -maintainer="Toyam Cox " +maintainer="Toyam Cox " license="GPL-2" homepage="https://pijul.org/" distfiles="https://pijul.org/releases/pijul-${version}.tar.gz" checksum=da3fcba4ab39a4371cda7273691364c2355c9b216bb7867d92dae5812ebb71d2 -nocross=rustcant -do_build() { - cargo build --release ${makejobs} -} +case "$XBPS_TARGET_MACHINE" in + arm*) broken="mismatched types --> line/src/unix.rs:9:27 expect u32, found u64" +esac +# We only want to install the binary, so don't run cargo install do_install() { - vbin target/release/pijul + vbin target/${RUST_TARGET}/release/pijul }