# HG changeset patch # User Dirk Olmes # Date 1440992912 -7200 # Node ID a13344a4a7bb60812ad9bb6b54a28a5cb9f83fdd # Parent af9fcfc5c007b329ebdd49b61d76cd08d622e1bb add an ebuild for the latest veracrypt release diff -r af9fcfc5c007 -r a13344a4a7bb app-crypt/veracrypt/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/veracrypt/Manifest Mon Aug 31 05:48:32 2015 +0200 @@ -0,0 +1,4 @@ +AUX veracrypt.desktop 260 SHA256 41a53745f894e4ac81349a539256b9b8767a34b1bab5da526a409c600387ba67 SHA512 2dc31eeaee9fa675007d05457ec2e6d387ef976e5c4acfb721c8e22c55f95fb89c9a7b18ee307c9b8d367ca710e573966f1cd5d5e07f7608478f86f64c3623d0 WHIRLPOOL fa5455db33966d4aad791762c945692a5119425c9af24e2e828af3b090107d7c228e3b405b571058098c96f5821cc9688841e07881270ddb221df28568d0ce59 +AUX veracrypt.png 2880 SHA256 47cd3c3f6840c7bfff18435d7c1e10216c945a173cc3c5bb063ec42f9df56479 SHA512 d7e889e324f0ad98f50ac8b9de14849377fb78149a95f96b97174f51949937d67485e8f8a7322b98fd49f09d2b74e2fa846f283caf8a0183bd297a4ebee3c1f9 WHIRLPOOL c0801abd82c1d606af5a1630ba4714671cdf77eb73ef9d6f19a7b4d85323a8f210f7bb73ee6e21e52180fed4826ab6010e61d9b35f0c9ca54edf7d5c016b3ac1 +DIST veracrypt-1.13.tar.gz 8960127 SHA256 753624e33d415f514a4291c10ba3d45604ea01fe0fae0de1969e293c1e980545 SHA512 29f156d9275f1d4cbeadc4476fc7a01f623450994b02f335a8992426326b53ac12569f83f4ac58b057c001a132a79984b5484ee8b331b9cec6173842512d04f7 WHIRLPOOL 2fb6a7a0b4821ebb21e114f5b3d5db06411fcac4ea7b74dfbd464c064a063bfb937ce74de2ea6110dacef84646892efd1a12e1241f54a28ef51d0db70a368bff +EBUILD veracrypt-1.13.ebuild 1307 SHA256 20d9c4cc739c52a8357613debcae41fd960aeb6ec783314c1f7e2500f5aee53f SHA512 860c6d0ddf5a140b79d8ae6ef62417f01479f01effb86ed086d795ed34711cfaed847db98a1fe4166d74cae39b5898aa373ea43ec8793a44ae88a4a266e85438 WHIRLPOOL d3806055b219d84eff39dc06af4dc8ce9d89eaf0cd5c88bfc2ecd113aeef5b38627fc4813aca8c31a1c980f3cad68dc77a258ee14a11045b97e733446f45556b diff -r af9fcfc5c007 -r a13344a4a7bb app-crypt/veracrypt/files/veracrypt.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/veracrypt/files/veracrypt.desktop Mon Aug 31 05:48:32 2015 +0200 @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=VeraCrypt +GenericName=VeraCrypt +Comment=VeraCrypt is a free disk encryption software that is based on TrueCrypt. +Encoding=UTF-8 +Exec=/usr/bin/veracrypt +Icon=/usr/share/pixmaps/veracrypt.png +Type=Application +Categories=Utility; +Version=1.0 diff -r af9fcfc5c007 -r a13344a4a7bb app-crypt/veracrypt/files/veracrypt.png Binary file app-crypt/veracrypt/files/veracrypt.png has changed diff -r af9fcfc5c007 -r a13344a4a7bb app-crypt/veracrypt/veracrypt-1.13.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/veracrypt/veracrypt-1.13.ebuild Mon Aug 31 05:48:32 2015 +0200 @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit unpacker + +DESCRIPTION="VeraCrypt is a free disk encryption software based on TrueCrypt" +HOMEPAGE="https://veracrypt.codeplex.com" +SRC_URI="https://github.com/veracrypt/VeraCrypt/archive/VeraCrypt_1.13.tar.gz -> ${P}.tar.gz" + +LICENSE="truecrypt-3.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="mirror" + +DEPEND=" + sys-devel/make + dev-lang/nasm + app-arch/makeself + sys-fs/fuse + x11-libs/wxGTK:3.0 +" + +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} || die "Could not unpack!" + mv ${WORKDIR}/* ${WORKDIR}/${PN} || die "Could not move directory!" + return +} + +src_compile() { + cd ${WORKDIR}/${PN}/src + make || die "Could not make VeraCrypt!" + return +} + +src_install() { + exeinto /usr/bin + doexe ${WORKDIR}/${PN}/src/Main/veracrypt || die "Could not install veracrypt executable!" + insinto /usr/share/pixmaps + doins "${FILESDIR}"/veracrypt.png || die "Could not copy veracrypt.png" + return +} + +pkg_postinst() { + xdg-desktop-menu install --novendor "${FILESDIR}"/veracrypt.desktop || die "Could not register a menu item!" + return +} + +pkg_postrm() { + xdg-desktop-menu uninstall "${FILESDIR}"/veracrypt.desktop || die "Could not de-register a menu item!" + return +}