summaryrefslogtreecommitdiff
path: root/community/ophcrack/PKGBUILD
blob: 64ae92553e2d318304e58e58b596cd32e5858b6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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.6.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=('93347fac9fee385b40d4f486680dfba9'
         '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
}