mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-10 02:11:44 +01:00
29 lines
870 B
Plaintext
29 lines
870 B
Plaintext
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=bupstash
|
|
pkgver=0.9.0
|
|
pkgrel=0
|
|
pkgdesc="Easy and efficient encrypted backups"
|
|
url="https://bupstash.io/"
|
|
arch="x86_64 armv7 armhf aarch64 x86 ppc64le" # limited by rust/cargo
|
|
arch="$arch !armv7 !armhf !x86" # Test failures
|
|
license="MIT"
|
|
makedepends="rust cargo libsodium-dev"
|
|
options="net"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/andrewchambers/bupstash/archive/v$pkgver.tar.gz"
|
|
export CARGO_HOME="$srcdir"/cargo
|
|
export RUSTFLAGS="-C target-feature=-crt-static"
|
|
|
|
build() {
|
|
cargo build --release --verbose
|
|
}
|
|
|
|
check() {
|
|
cargo test --all --release --verbose
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/bupstash "$pkgdir"/usr/bin/bupstash
|
|
}
|
|
|
|
sha512sums="d80ed6c44490f1f82f5a9276b9a2894abd3ccd1a0ebc51af1286640ebc835f3a215108519b0ed632cc4a1c924dbff735f1c230614a9ead95a995c86e222b6d36 bupstash-0.9.0.tar.gz"
|