pijul: use create_wrksrc
This commit is contained in:
parent
443a5debd5
commit
ac704110fc
2 changed files with 7 additions and 1 deletions
|
@ -6,4 +6,4 @@
|
|||
version = "0.2"
|
||||
+
|
||||
+[patch.crates-io]
|
||||
+"sequoia-rfc2822" = {path = '/builddir/sequoia-v0.9.0/rfc2822'}
|
||||
+"sequoia-rfc2822" = {path = './sequoia/rfc2822'}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
pkgname=pijul
|
||||
version=0.12.2
|
||||
revision=5
|
||||
create_wrksrc=yes
|
||||
build_style=cargo
|
||||
_sequoia_ver=0.9.0
|
||||
hostmakedepends="pkg-config clang"
|
||||
|
@ -15,6 +16,11 @@ distfiles="https://crates.io/api/v1/crates/pijul/${version}/download>pijul-${ver
|
|||
checksum="f92a3f4063e780ca45c161ceb0f42baf34dfeddf3359ebf6c2e0442d9abb5889
|
||||
71823c88b9666611f3cfa6b1d923bd66fda92fa6a53368b195bd2f962fdf7f4b"
|
||||
|
||||
post_extract() {
|
||||
mv pijul-*/* .
|
||||
mv sequoia-* sequoia
|
||||
}
|
||||
|
||||
# We only want to install the binary, so don't run cargo install
|
||||
do_install() {
|
||||
vbin target/${RUST_TARGET}/release/pijul
|
||||
|
|
Loading…
Add table
Reference in a new issue