upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ophcrack / repos / community-x86_64 / PKGBUILD
blob897c090ec619460a363fe48d62151a89bf360a8c
1 # Maintainer: Jonathan Steel <jsteel at archlinux.org>
2 # Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 # Contributor: Kaos < gianlucaatlas at gmail dot com >
4 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
5 # Contributor: Matthew Sharpe <matt.sharpe@gmail.com>
7 pkgname=ophcrack
8 pkgver=3.8.0
9 pkgrel=4
10 pkgdesc="Windows password cracker based on rainbow tables"
11 arch=('x86_64')
12 url="http://ophcrack.sourceforge.net"
13 license=('GPL')
14 depends=('qt5-charts')
15 source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2
16         ophcrack.desktop)
17 md5sums=('d4449e15f65b1f0f82abfd963ceff452'
18          '664599c4fd7fd210e6c421459f60e20d')
19 sha256sums=('048a6df57983a3a5a31ac7c4ec12df16aa49e652a29676d93d4ef959d50aeee0'
20             '1b3731fcb835c1ec26518b22e2c78c2955f3a079d4ce7a718ebc896c07653a0c')
22 build() {
23   cd $pkgname-$pkgver
25   ./configure --prefix=/usr --enable-gui --enable-graph
27   make
30 package() {
31   cd $pkgname-$pkgver
33   make DESTDIR="$pkgdir" install
35   install -Dm644 "$srcdir"/ophcrack.desktop \
36     "$pkgdir"/usr/share/applications/ophcrack.desktop
37   install -Dm644 src/gui/pixmaps/os.xpm \
38     "$pkgdir"/usr/share/$pkgname/pixmaps/os.xpm