mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pijul: update to 1.0.0.beta.6.
fixes #45689 Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
This commit is contained in:
parent
3fd8d7ca37
commit
2c0384f4a3
3 changed files with 14 additions and 34 deletions
|
@ -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'}
|
|
|
@ -1,32 +1,22 @@
|
||||||
# Template file for 'pijul'
|
# Template file for 'pijul'
|
||||||
pkgname=pijul
|
pkgname=pijul
|
||||||
version=0.12.2
|
version=1.0.0.beta.6
|
||||||
revision=6
|
revision=1
|
||||||
create_wrksrc=yes
|
_crates_version="${version%.*.*}-${version#*.*.*.}"
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
_sequoia_ver=0.9.0
|
build_helper=qemu
|
||||||
hostmakedepends="pkg-config clang"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libsodium-devel openssl-devel nettle-devel"
|
makedepends="libsodium-devel openssl-devel"
|
||||||
short_desc="Distributed version control system based on patches"
|
short_desc="Distributed version control system based on patches"
|
||||||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://pijul.org/"
|
homepage="https://pijul.org/"
|
||||||
distfiles="https://static.crates.io/crates/pijul/pijul-${version}.crate
|
distfiles="https://static.crates.io/crates/pijul/pijul-${_crates_version}.crate"
|
||||||
https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${_sequoia_ver}/sequoia-v${_sequoia_ver}.tar.gz"
|
checksum=b7757b1c39487a70d82d5e5f5e432e7d9cf3c24cb837b90cf1c436da8edba802
|
||||||
checksum="f92a3f4063e780ca45c161ceb0f42baf34dfeddf3359ebf6c2e0442d9abb5889
|
|
||||||
71823c88b9666611f3cfa6b1d923bd66fda92fa6a53368b195bd2f962fdf7f4b"
|
|
||||||
|
|
||||||
post_extract() {
|
post_install() {
|
||||||
mv pijul-*/* .
|
for shell in bash fish zsh; do
|
||||||
mv sequoia-* sequoia
|
vtargetrun ${DESTDIR}/usr/bin/pijul completion ${shell} > pijul.${shell}
|
||||||
}
|
vcompletion pijul.${shell} ${shell}
|
||||||
|
done
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
site="https://pijul.org/downloads/"
|
|
Loading…
Add table
Reference in a new issue