blob: be6da4314296d2d7db68cd4fd236271674335b26 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Maintainer: Lex Black <autumn-wind at web dot de>
# Contributor: Rich Li <rich at dranek com>
# Contributor: Sam Stuewe <halosghost at archlinux dot org>
# Contributor: David Lo Re <boyska@gmail.com>
# Contributor: nignux <nignux@freaknet.org>
_name=tomb
pkgbase="${_name}-git"
pkgname=("${_name}-git" "${_name}-kdf-git")
pkgver=2.11.r0.g2b75962
pkgrel=1
pkgdesc="simple tool to manage encrypted storage"
arch=('any')
url="https://www.dyne.org/software/tomb/"
license=('GPL3')
makedepends=('git' 'libgcrypt')
conflicts=("${_name}")
provides=("${_name}")
source=("${_name}::git+https://github.com/dyne/${_name//t/T}.git"
"_${_name}")
sha256sums=('SKIP'
'8007bc208fdac3fbd7a61320b48c4c8073639b478fcc410145a3792986aca9e8')
pkgver() {
cd "${_name}"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//'
}
build() {
cd "${_name}/extras/kdf-keys"
make
}
package_tomb-git() {
depends=('cryptsetup' 'gnupg' 'inetutils' 'sudo' 'zsh' 'e2fsprogs')
optdepends=('lsof: allows the operation slam'
'steghide: steganography'
'dcfldd: show nice progress during massive I/O'
'qrencode: for paper backups of keys'
'plocate: fast search file names'
'recoll: fast search file contents'
'argon2: support for argon2 KDF')
cd "${_name}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
cd "extras/translations"
make DESTDIR="${pkgdir}" PREFIX=/usr install
install -Dm644 "${srcdir}/_${_name}" "${pkgdir}/usr/share/zsh/site-functions/_${_name}"
}
package_tomb-kdf-git() {
pkgdesc="Crypto Undertaker extensions to improve password security"
arch=('i686' 'x86_64')
depends=('libgcrypt')
conflicts=("${_name}-kdf")
provides=("${_name}-kdf")
cd "${_name}/extras/kdf-keys"
make DESTDIR="${pkgdir}" PREFIX=/usr install
}
|