summaryrefslogtreecommitdiff
path: root/pcr/tomb/PKGBUILD
blob: 2902f07bcf48a7deea9a31ffaf7ea10e31d77609 (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
## PKGBUILD [bash]
# Maintainer: nignux <nignux@freaknet.org>
# Maintainer (Parabola): fauno <fauno@parabola.nu>
# Contributor: BoySka

pkgbase=tomb
pkgname=(tomb tomb-kdf)
pkgver=1.4
pkgrel=2
pkgdesc="Crypto Undertaker, simple tool to manage encrypted storage"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.dyne.org/software/tomb/"
license=('GPL3')
install=${pkgname}.install
source=(https://files.dyne.org/.xsend.php?file=tomb/releases/Tomb-1.4.tar.gz https://files.dyne.org/tomb/releases/Tomb-${pkgver}.tar.gz.sha{,.asc})
# The first hash comes from the .sha file
sha256sums=('2621ac6b9180321e69743dc899645449b2b958c6aa46e4b2601c2e89131bbf29'
            'SKIP'
            'SKIP')

build() {
  cd ${srcdir}/Tomb-${pkgver}/extras/kdf

  make
}

# The checks require root access
#check() {
#  cd ${srcdir}/Tomb-${pkgver}
#  make test
#}

package_tomb() {
  pkgdesc="Crypto Undertaker, simple tool to manage encrypted storage, from the hashes of the dyne:bolic nesting mechanism."
  depends=('bc' 'cryptsetup' 'gnupg' 'sudo' 'zsh' 'wipe')
  optdepends=(
  'steghide: steganography'
  'dcfldd: show nice progress during massive I/O'
  )
  arch=('any')
  cd ${srcdir}/Tomb-${pkgver}
  make DESTDIR=${pkgdir} PREFIX=/usr install
}

package_tomb-kdf() {
  pkgdesc="Crypto Undertaker extensions to improve password security"
  depends=('libgcrypt')

  cd ${srcdir}/Tomb-${pkgver}/extras/kdf
  make DESTDIR=${pkgdir} PREFIX=/usr install
}