blob: 4506ae1545cc7b4d89a49b9d602fbad6542fe11c (
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
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=pass
pkgver=1.6.3
pkgrel=0
pkgdesc="Stores, retrieves, generates, and synchronizes passwords securely"
url="http://zx2c4.com/projects/password-store/"
arch="noarch"
license="GPL2"
depends="bash"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-completion $pkgname-contrib"
source="http://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz"
_builddir="$srcdir/password-store-$pkgver"
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" \
FORCE_BASHCOMP=0 \
FORCE_ZSHCOMP=0 \
FORCE_FISHCOMP=0 install
}
completion() {
pkgdesc="bash/fish/zsh completion files for pass"
cd "$_builddir"
make DESTDIR="$subpkgdir" \
FORCE_BASHCOMP=1 \
FORCE_ZSHCOMP=1 \
FORCE_FISHCOMP=1 install-common
rm -rf "$subpkgdir"/usr/share/man/
}
contrib() {
pkgdesc="contrib files for pass"
mkdir -p "$subpkgdir"/usr/share
cp -a "$_builddir"/contrib "$subpkgdir"/usr/share/$pkgname
}
md5sums="bcfd1027f5c92f26d7fcbf4e3af750eb password-store-1.6.3.tar.xz"
sha256sums="d419d40aa165c1f893e994dd706733374a9db8cf5314124702a061e70e0340f7 password-store-1.6.3.tar.xz"
sha512sums="684b779361da0b4c107141f2c21d845fb277f537305ab351dda8a0f7041ce6f9215dab54a2fdc1b8e3c06e01346e1562f800b07519cd76b364313f6f24d2f010 password-store-1.6.3.tar.xz"
|