summaryrefslogtreecommitdiff
path: root/testing/ripasso-cursive/APKBUILD
blob: 6ae7e3d7b4ff98fb9cd1b284ecf027e2d8a9abfc (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
29
30
31
32
33
34
# Maintainer: Eirik Furuseth <alpine@heplaphon.com>
pkgname=ripasso-cursive
_pkgrelname=ripasso
pkgver=0.5.2
pkgrel=1
pkgdesc="A password manager that uses the file format of the standard unix password manager 'pass', implemented in rust."
url="https://github.com/cortex/ripasso/"
arch="all !s390x !riscv64 !armhf"
license="GPL-3.0-or-later"
makedepends="gettext rust cargo libgpg-error-dev gpgme-dev openssl-dev>3 libxcb-dev"
source="https://github.com/cortex/ripasso/archive/release-$pkgver.tar.gz"
builddir="$srcdir/$_pkgrelname-release-$pkgver"

prepare() {
	default_prepare
	cargo fetch --locked
}

build() {
	cargo build -p ripasso-cursive --release --frozen
}

check() {
	cargo test --release --frozen
}

package() {
	install -Dm0755 target/release/ripasso-cursive \
	-t "$pkgdir"/usr/bin
}

sha512sums="
7b90e13de3a81513ba29837d2180964242a5723f7d76690e2250508fd271eb58b6e826a65095ca07617f90db9f5e53cae50e6e31ca495f2dc2108da75837e220  release-0.5.2.tar.gz
"