28 lines
755 B
Bash
28 lines
755 B
Bash
# Template file for 'hashcat'
|
|
pkgname=hashcat
|
|
version=3.30
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="LFLAGS=$LDFLAGS PREFIX=/usr"
|
|
makedepends="gmp-devel opencl2-headers"
|
|
short_desc="Advanced CPU-based password recovery utility"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://hashcat.net/hashcat/"
|
|
distfiles="https://github.com/hashcat/hashcat/archive/v${version}.tar.gz"
|
|
checksum=3acd1d783f13183c57383069403de0554534ac2b06a30e7e078544e524f940d2
|
|
|
|
CFLAGS="-W -Wall -std=c99 -Iinclude/ -IOpenCL/"
|
|
|
|
pre_build() {
|
|
sed -i \
|
|
-e 's|-ldl|-ldl $(LDFLAGS)|g' \
|
|
-e 's| -s$||g' \
|
|
-e '/-march=native/d' \
|
|
src/Makefile
|
|
}
|
|
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
|
|
vlicense docs/license.txt
|
|
}
|