aboutsummaryrefslogtreecommitdiffstats
path: root/community/pass/APKBUILD
blob: e10e05e3f568e60cc64da8a384337887a192fa18 (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=pass
pkgver=1.7.3
pkgrel=3
pkgdesc="Stores, retrieves, generates, and synchronizes passwords securely"
url="https://www.passwordstore.org"
arch="noarch"
license="GPL-2.0-or-later"
depends="bash tree cmd:gpg2"
makedepends="gnupg"
checkdepends="git"
subpackages="$pkgname-doc
	$pkgname-contrib
	$pkgname-bash-completion
	$pkgname-fish-completion
	$pkgname-zsh-completion
	"
source="https://git.zx2c4.com/password-store/snapshot/password-store-$pkgver.tar.xz
	fix-password-generation.patch
	wayland-clipboard-backport.patch
	README.alpine
	"
builddir="$srcdir/password-store-$pkgver"

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" WITH_ALLCOMP=yes install
	install -Dm 644 "$srcdir"/README.alpine "$pkgdir"/usr/share/doc/pass/README.alpine

	mkdir -p "$pkgdir"/usr/share/fish
	mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
}

contrib() {
	pkgdesc="contrib files for pass"
	mkdir -p "$subpkgdir"/usr/share
	cp -a "$builddir"/contrib "$subpkgdir"/usr/share/$pkgname
}

sha512sums="89755a7b02f05d75055a9fc14fd3f456c0a49ec31bdffd097a027f91228c64a98b18c1e80017aeda811773ae3287ff1b9737532da8ded06799d8fe3979ca06f7  password-store-1.7.3.tar.xz
fb2d78975041197f5e9ace5dc2ac8f2de46ebd43ca08c65a527c8c5e5128f0e6baa64a7d994c393777b8a6ddf987f275f815db11359bb787faa89875a508c291  fix-password-generation.patch
0716dff8c119dc951b58e6d340ab20cf469e8ace797c61f492a4c3f4bf68f25d53116f63b62253112e3ccfd4ab65f55aa5cb5793c47445f0d0da346a9c0faac2  wayland-clipboard-backport.patch
eca180d02af608b18a2b6d4b0eaa685c9b1bb8d2ccde921fb27cc12d6d4c31551c6b69fc2ddd2baaa840630ba3c8c0c44ee40b612e8dc004c2b90aafd299a4fa  README.alpine"