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
2018-08-08 23:31:53 +00:00
pkgver=4.2.1
2018-03-19 01:04:03 +00:00
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})
2018-08-08 23:31:53 +00:00
sha512sums=('a2cfc7e19e82b237892bacc79ca1a62a3b2ea598e4e5f60d4e275a0c128d865945595d8f918e3bb93bf62376f11f448ff53257faa12fd051dfc64973fbb6ed1e'
2018-03-19 01:04:03 +00:00
'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
2018-08-08 23:31:53 +00:00
install -Dm 644 docs/license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
2018-03-19 01:04:03 +00:00
}
# vim: ts=2 sw=2 et: