Created
February 26, 2014 05:38
-
-
Save richli/9224088 to your computer and use it in GitHub Desktop.
Arch PKGBUILD for tomb 1.5.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## PKGBUILD [bash] | |
# Maintainer: nignux <nignux@freaknet.org> | |
# Maintainer (Parabola): fauno <fauno@parabola.nu> | |
# Contributor: BoySka | |
# Contributor: Rich Li | |
pkgbase=tomb | |
pkgname=tomb | |
true && pkgname=(tomb tomb-kdf) | |
pkgver=1.5.2 | |
pkgrel=1 | |
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/Tomb-${pkgver}.tar.gz | |
https://files.dyne.org/.xsend.php?file=tomb/Tomb-${pkgver}.tar.gz.sha | |
https://files.dyne.org/.xsend.php?file=tomb/Tomb-${pkgver}.tar.gz.sha.asc | |
) | |
# The first hash comes from the .sha file | |
sha256sums=('6ae28aaec7b533127534070b25ccba08eb1416dc07e7e74bf433f5c5d675f7e2' | |
'SKIP' | |
'SKIP') | |
build() { | |
cd ${srcdir}/Tomb-${pkgver}/extras/kdf-keys | |
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-keys | |
make DESTDIR=${pkgdir} PREFIX=/usr install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment