summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2012-07-03 21:45:22 +0000
committerRick Farina <zerochaos@gentoo.org>2012-07-03 21:45:22 +0000
commitc0d259141cbe8e8d379089dd43e55e3eb3e614a4 (patch)
treec6bc97e4ca490d88c9cdda2e579845fa314cf5a8 /app-crypt
parenthand write new ChangeLog as repoman didnt do it for me ... (diff)
downloadgentoo-2-c0d259141cbe8e8d379089dd43e55e3eb3e614a4.tar.gz
gentoo-2-c0d259141cbe8e8d379089dd43e55e3eb3e614a4.tar.bz2
gentoo-2-c0d259141cbe8e8d379089dd43e55e3eb3e614a4.zip
address a few ebuild QA violations and style concerns
(Portage version: 2.1.11.3/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/hashcat-gui/ChangeLog5
-rw-r--r--app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild23
2 files changed, 13 insertions, 15 deletions
diff --git a/app-crypt/hashcat-gui/ChangeLog b/app-crypt/hashcat-gui/ChangeLog
index 8b74bb24a249..dcc4148d4b9c 100644
--- a/app-crypt/hashcat-gui/ChangeLog
+++ b/app-crypt/hashcat-gui/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/hashcat-gui
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-gui/ChangeLog,v 1.1 2012/07/02 02:12:24 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-gui/ChangeLog,v 1.2 2012/07/03 21:45:22 zerochaos Exp $
+
+ 03 Jul 2012; Rick Farina <zerochaos@gentoo.org> hashcat-gui-0.5.1.ebuild:
+ address a few ebuild QA violations and style concerns
*hashcat-gui-0.5.1 (02 Jul 2012)
diff --git a/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild b/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild
index 5ee715c080b5..079a5669073a 100644
--- a/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild
+++ b/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild
@@ -1,16 +1,15 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild,v 1.1 2012/07/02 02:12:24 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild,v 1.2 2012/07/03 21:45:22 zerochaos Exp $
EAPI=4
-inherit eutils qt4-r2
+inherit qt4-r2
DESCRIPTION="A gui for the *hashcat* suite of tools"
HOMEPAGE="https://github.com/scandium/hashcat-gui"
-#HOMEPAGE="http://hashcat.net/hashcat-gui/"
-SRC_URI="https://github.com/scandium/hashcat-gui/zipball/b6b01be723742ad89ba31fdb2c30b35306318f8b -> ${P}.zip"
+SRC_URI="mirror://github/scandium/hashcat-gui/zipball/b6b01be723742ad89ba31fdb2c30b35306318f8b -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
@@ -25,20 +24,16 @@ RDEPEND="app-crypt/hashcat-bin
x11-libs/qt-core"
DEPEND="${RDEPEND}"
-S="${WORKDIR}"/scandium-hashcat-gui-b6b01be
+S="${WORKDIR}"/scandium-hashcat-gui-b6b01be/src
src_prepare() {
- sed -i 's#./hashcat#/opt/hashcat-bin#g' src/mainwindow.cpp
- sed -i 's#./oclHashcat-plus#/opt/oclhashcat-plus-bin#g' src/mainwindow.cpp
- sed -i 's#./oclHashcat-lite#/opt/oclhashcat-lite-bin#g' src/mainwindow.cpp
+ sed -i 's#./hashcat#/opt/hashcat-bin#g' mainwindow.cpp || die
+ sed -i 's#./oclHashcat-plus#/opt/oclhashcat-plus-bin#g' mainwindow.cpp || die
+ sed -i 's#./oclHashcat-lite#/opt/oclhashcat-lite-bin#g' mainwindow.cpp || die
}
src_install() {
- dodoc ChangeLog FAQ INSTALL README TODO
-
- cd src
- eqmake4 -config release
- emake
-
dobin hashcat-gui
+ cd "${WORKDIR}"/scandium-hashcat-gui-b6b01be || die
+ dodoc ChangeLog FAQ INSTALL README TODO
}