aports/testing/rdedup/APKBUILD
Celeste 1b3b4abd66 testing/rdedup: rebuild against libsodium 1.0.19
Updated `getrandom` crate to fix undefined reference to "open64"
2023-10-22 01:01:27 +00:00

32 lines
1015 B
Plaintext

# Contributor: tcely <rdedup+aports@tcely.33mail.com>
# Maintainer:
pkgname=rdedup
pkgver=3.2.1
pkgrel=4
pkgdesc="Data deduplication with compression and public key encryption"
url="https://github.com/dpc/rdedup"
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # limited by cargo
license="MPL-2.0"
makedepends="cargo clang-dev libsodium-dev openssl-dev>3 xz-dev cargo-auditable"
source="$pkgname-$pkgver.tar.gz::https://github.com/dpc/rdedup/archive/v$pkgver.tar.gz
getrandom-0.2.10.patch
"
build() {
cargo auditable build --release --locked
}
check() {
cargo test --release --locked
}
package() {
cargo auditable install --locked --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates*
}
sha512sums="
375265eab7c133000682fd8bf6bf023d69042571a737e707671874a9c5bada4c05742fd397207661f0c8334f0818e8a52707c412ca5cbec636469f6d9c7448c9 rdedup-3.2.1.tar.gz
216c9f6111406d2c2c18a2bdbe25678d32f22da7daf2eeff67a1f179e3b40b92b205652f4d8362b33246d50bb29540947138533a9f5bd13c60cb5d9da53edd02 getrandom-0.2.10.patch
"