diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ophcrack/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ophcrack/PKGBUILD')
-rw-r--r-- | community/ophcrack/PKGBUILD | 36 |
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 +} |