vp-build/srcpkgs/pijul/template

23 lines
699 B
Bash

# Template file for 'pijul'
pkgname=pijul
version=0.10.0
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 <Vaelatern@voidlinux.eu>"
license="GPL-2"
homepage="https://pijul.org/"
distfiles="https://pijul.org/releases/pijul-${version}.tar.gz"
checksum=da3fcba4ab39a4371cda7273691364c2355c9b216bb7867d92dae5812ebb71d2
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/${RUST_TARGET}/release/pijul
}