void-packages/srcpkgs/pijul/template

18 lines
589 B
Bash

# Template file for 'pijul'
pkgname=pijul
version=0.11.0
revision=1
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.org>"
license="GPL-2.0-only"
homepage="https://pijul.org/"
distfiles="https://pijul.org/releases/pijul-${version}.tar.gz"
checksum=e60793ab124e9054c1d5509698acbae507ebb2fab5364d964067bc9ae8b6b5e5
# We only want to install the binary, so don't run cargo install
do_install() {
vbin target/${RUST_TARGET}/release/pijul
}