23 lines
732 B
Bash
23 lines
732 B
Bash
# Template file for 'pijul'
|
|
pkgname=pijul
|
|
version=1.0.0.beta.6
|
|
revision=2
|
|
_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
|
|
}
|