summaryrefslogtreecommitdiff
path: root/pcr/tomb/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-08-06 12:12:11 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-08-06 12:12:11 -0300
commit0a4fc9eded834d6c317b112488e100d34c8c7220 (patch)
tree503852579b4312ebb4ab59b9c9d3829d84d75834 /pcr/tomb/PKGBUILD
parent8d819684e5c65a5e69ba7cc9801068f1e6861e86 (diff)
downloadabslibre-0a4fc9eded834d6c317b112488e100d34c8c7220.tar.gz
abslibre-0a4fc9eded834d6c317b112488e100d34c8c7220.tar.bz2
abslibre-0a4fc9eded834d6c317b112488e100d34c8c7220.zip
Tomb 1.4
Diffstat (limited to 'pcr/tomb/PKGBUILD')
-rw-r--r--pcr/tomb/PKGBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/pcr/tomb/PKGBUILD b/pcr/tomb/PKGBUILD
new file mode 100644
index 000000000..66945cb41
--- /dev/null
+++ b/pcr/tomb/PKGBUILD
@@ -0,0 +1,53 @@
+## PKGBUILD [bash]
+# Maintainer: nignux <nignux@freaknet.org>
+
+pkgbase=tomb
+pkgname=(tomb python2-tomb tomb-gui)
+pkgver=1.4
+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')
+depends=('bc' 'cryptsetup' 'gnupg' 'sudo' 'zsh' 'steghide'
+ 'dcfldd' 'wipe')
+makedepends=('python2-pyqt' 'python2-distribute')
+install=${pkgname}.install
+source=(https://files.dyne.org/tomb/releases/Tomb-${pkgver}.tar.gz{,.sha{,.asc}})
+# The first hash comes from the .sha file
+sha256sums=('2621ac6b9180321e69743dc899645449b2b958c6aa46e4b2601c2e89131bbf29'
+ 'fc8b168f991d5b9c1135ceec6e55ac94f494ac4bed7e104e14c7f9ee787591e5'
+ 'SKIP')
+
+build() {
+ cd ${srcdir}/Tomb-${pkgver}/extras/qt
+
+ python2 setup.py build_ui
+}
+
+# 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."
+ cd ${srcdir}/Tomb-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
+
+package_python2-tomb() {
+ pkgdesc="Crypto Undertaker library"
+
+ cd ${srcdir}/Tomb-${pkgver}/extras/pytomb
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}
+
+package_tomb-gui() {
+ pkgdesc="Crypto Undertaker GUI for open and create tombs"
+ depends=('python2-tomb' 'python2-pyqt')
+
+ cd ${srcdir}/Tomb-${pkgver}/extras/qt
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}