PKGBUILDs/community/hashcat/PKGBUILD

34 lines
1 KiB
Bash
Raw Normal View History

2018-03-19 01:04:03 +00:00
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Sam Stuewe <halosghost at archlinux dot info>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on libxnvctrl
pkgname=hashcat
pkgver=4.1.0
pkgrel=1
epoch=1
pkgdesc='Multithreaded advanced password recovery utility'
url='https://hashcat.net/hashcat'
arch=('x86_64')
depends=('opencl-icd-loader')
makedepends=('opencl-headers')
license=('MIT')
source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc})
sha512sums=('c9e01847c89dd8521da8734ea324c69f1e9bfef50c059e9dc29d4b947fe090405774a57ae688f907698c7d9a2d1f087b730e0a994dc5ed0d5d937a9ef950dd73'
'SKIP')
validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing key <signing@hashcat.net>
build() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr SHARED=1
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" PREFIX=/usr SHARED=1 install
install -Dm 644 docs/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim: ts=2 sw=2 et: