pijul: use cargo buildstyle
This commit is contained in:
parent
68055da707
commit
a14c7a991e
1 changed files with 9 additions and 8 deletions
|
@ -1,21 +1,22 @@
|
|||
# Template file for 'pijul'
|
||||
pkgname=pijul
|
||||
version=0.10.0
|
||||
revision=1
|
||||
hostmakedepends="cargo pkg-config"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libsodium-devel libressl-devel"
|
||||
short_desc="Distributed version control system based on patches"
|
||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="https://pijul.org/"
|
||||
distfiles="https://pijul.org/releases/pijul-${version}.tar.gz"
|
||||
checksum=da3fcba4ab39a4371cda7273691364c2355c9b216bb7867d92dae5812ebb71d2
|
||||
nocross=rustcant
|
||||
|
||||
do_build() {
|
||||
cargo build --release ${makejobs}
|
||||
}
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*) broken="mismatched types --> line/src/unix.rs:9:27 expect u32, found u64"
|
||||
esac
|
||||
|
||||
# We only want to install the binary, so don't run cargo install
|
||||
do_install() {
|
||||
vbin target/release/pijul
|
||||
vbin target/${RUST_TARGET}/release/pijul
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue