pijul: update to 1.0.0.beta.6.

fixes #45689

Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
This commit is contained in:
classabbyamp 2023-08-20 16:41:44 -04:00
parent 3fd8d7ca37
commit 2c0384f4a3
3 changed files with 14 additions and 34 deletions

View file

@ -1,9 +0,0 @@
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -133,3 +133,6 @@
version = "2.0"
[target."cfg(unix)".dependencies.tokio-uds]
version = "0.2"
+
+[patch.crates-io]
+"sequoia-rfc2822" = {path = './sequoia/rfc2822'}

View file

@ -1,32 +1,22 @@
# Template file for 'pijul'
pkgname=pijul
version=0.12.2
revision=6
create_wrksrc=yes
version=1.0.0.beta.6
revision=1
_crates_version="${version%.*.*}-${version#*.*.*.}"
build_style=cargo
_sequoia_ver=0.9.0
hostmakedepends="pkg-config clang"
makedepends="libsodium-devel openssl-devel nettle-devel"
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-only"
license="GPL-2.0-or-later"
homepage="https://pijul.org/"
distfiles="https://static.crates.io/crates/pijul/pijul-${version}.crate
https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${_sequoia_ver}/sequoia-v${_sequoia_ver}.tar.gz"
checksum="f92a3f4063e780ca45c161ceb0f42baf34dfeddf3359ebf6c2e0442d9abb5889
71823c88b9666611f3cfa6b1d923bd66fda92fa6a53368b195bd2f962fdf7f4b"
distfiles="https://static.crates.io/crates/pijul/pijul-${_crates_version}.crate"
checksum=b7757b1c39487a70d82d5e5f5e432e7d9cf3c24cb837b90cf1c436da8edba802
post_extract() {
mv pijul-*/* .
mv sequoia-* sequoia
}
post_patch() {
# Upstream does not ship a lockfile yet
cargo generate-lockfile
}
# We only want to install the binary, so don't run cargo install
do_install() {
vbin target/${RUST_TARGET}/release/pijul
post_install() {
for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/pijul completion ${shell} > pijul.${shell}
vcompletion pijul.${shell} ${shell}
done
}

View file

@ -1 +0,0 @@
site="https://pijul.org/downloads/"