void-packages/srcpkgs/pijul/template
classabbyamp 2c0384f4a3 pijul: update to 1.0.0.beta.6.
fixes #45689

Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
2023-08-26 23:46:47 -04:00

22 lines
732 B
Bash

# Template file for 'pijul'
pkgname=pijul
version=1.0.0.beta.6
revision=1
_crates_version="${version%.*.*}-${version#*.*.*.}"
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
makedepends="libsodium-devel openssl-devel"
short_desc="Distributed version control system based on patches"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://pijul.org/"
distfiles="https://static.crates.io/crates/pijul/pijul-${_crates_version}.crate"
checksum=b7757b1c39487a70d82d5e5f5e432e7d9cf3c24cb837b90cf1c436da8edba802
post_install() {
for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/pijul completion ${shell} > pijul.${shell}
vcompletion pijul.${shell} ${shell}
done
}