summaryrefslogtreecommitdiff
path: root/community/ophcrack/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-09 00:41:55 -0700
committerroot <root@rshg054.dnsready.net>2013-05-09 00:41:55 -0700
commit648599b08776ea788a3ddb0365eb30fda03efe7b (patch)
treebe3c375c8606fce5d85bbfc9095a2489c257ec68 /community/ophcrack/PKGBUILD
parentd6413cd6dac778aa64e48046ce7110000997ff61 (diff)
Thu May 9 00:41:55 PDT 2013
Diffstat (limited to 'community/ophcrack/PKGBUILD')
-rw-r--r--community/ophcrack/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/ophcrack/PKGBUILD b/community/ophcrack/PKGBUILD
new file mode 100644
index 000000000..f89079136
--- /dev/null
+++ b/community/ophcrack/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
+# Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
+# Contributor: Kaos < gianlucaatlas at gmail dot com >
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+# Contributor: Matthew Sharpe <matt.sharpe@gmail.com>
+
+pkgname=ophcrack
+pkgver=3.5.0
+pkgrel=1
+pkgdesc="A free Windows password cracker based on rainbow tables"
+arch=('i686' 'x86_64')
+url="http://ophcrack.sourceforge.net"
+license=('GPL')
+depends=('qt4')
+optdepends=('qwt: enable graph')
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2
+ ophcrack.desktop)
+md5sums=('1c61adde21c5dc226515cbd1dc654c60'
+ '664599c4fd7fd210e6c421459f60e20d')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr --enable-gui --enable-graph
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir"/ install
+
+ install -Dm644 "$srcdir"/ophcrack.desktop "$pkgdir"/usr/share/applications/ophcrack.desktop
+ install -Dm644 src/gui/pixmaps/os.xpm "$pkgdir"/usr/share/$pkgname/pixmaps/os.xpm
+}