# Template file for 'pijul'
pkgname=pijul
version=0.12.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libsodium-devel libressl-devel nettle-devel"
short_desc="Distributed version control system based on patches"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://pijul.org/"
distfiles="https://pijul.org/releases/pijul-${version}.tar.gz"
checksum=987820fa2a6fe92a9f516f5e9b41ad59a597973e72cb0c7a44ca0f38e741a7e6

broken="Links clang to build. Can't build on arm* with clang."

# We only want to install the binary, so don't run cargo install
do_install() {
	vbin target/${RUST_TARGET}/release/pijul
}
