blob: 292b9a6e8c82c5c80a703e2c91c7ddbe63be35e6 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=password-store
pkgver=1.7.4
pkgrel=0
pkgdesc="Stores, retrieves, generates, and synchronizes passwords securely"
url="https://www.passwordstore.org"
arch="noarch"
options="!check" # this is a shell script and has no tests
license="GPL-2.0+"
depends="bash gnupg libqrencode tree xclip"
makedepends=""
subpackages="$pkgname-doc
$pkgname-contrib
$pkgname-bash-completion:bashcomp
$pkgname-fish-completion:fishcomp
$pkgname-zsh-completion:zshcomp"
source="https://git.zx2c4.com/password-store/snapshot/$pkgname-$pkgver.tar.xz"
# secfixes:
# 1.7.4-r0:
# - CVE-2020-28086
package() {
make DESTDIR="$pkgdir" \
WITH_ALLCOMP=yes install
}
contrib() {
pkgdesc="Contrib files for pass"
mkdir -p "$subpkgdir"/usr/share
cp -a "$builddir"/contrib "$subpkgdir"/usr/share/$pkgname
}
bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
mv "$pkgdir"/usr/share/bash-completion/completions/* \
"$subpkgdir"/usr/share/bash-completion/completions/
}
fishcomp() {
depends=""
pkgdesc="Fish completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel fish"
mkdir -p "$subpkgdir"/usr/share/fish/completions/
mv "$pkgdir"/usr/share/fish/vendor_completions.d/* \
"$subpkgdir"/usr/share/fish/completions/
}
zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
mkdir -p "$subpkgdir/usr/share/zsh/site-functions"
mv "$pkgdir"/usr/share/zsh/site-functions/* \
"$subpkgdir"/usr/share/zsh/site-functions
}
sha512sums="1fe108895b224451b54e545d399b6a97040e094049448509f92ae33164a5cf9044a91f52edfc705fcf333f6526df1a478deeebc4df109764d58100f9e3e22681 password-store-1.7.4.tar.xz"
|