blob: 0be504e03e3acef3a85e98110520d8808e7fefff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: tcely <rdedup+aports@tcely.33mail.com>
# Maintainer:
pkgname=rdedup
pkgver=3.2.1
pkgrel=2
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"
source="$pkgname-$pkgver.tar.gz::https://github.com/dpc/rdedup/archive/v$pkgver.tar.gz"
build() {
cargo build --release --locked
}
check() {
cargo test --release --locked
}
package() {
cargo install --locked --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates*
}
sha512sums="
375265eab7c133000682fd8bf6bf023d69042571a737e707671874a9c5bada4c05742fd397207661f0c8334f0818e8a52707c412ca5cbec636469f6d9c7448c9 rdedup-3.2.1.tar.gz
"
|