aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hashcat/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/hashcat/APKBUILD')
-rw-r--r--testing/hashcat/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/hashcat/APKBUILD b/testing/hashcat/APKBUILD
new file mode 100644
index 00000000000..e4d639ccbbc
--- /dev/null
+++ b/testing/hashcat/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
+# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
+pkgname=hashcat
+pkgver=6.2.6
+pkgrel=0
+pkgdesc="World's fastest and most advanced password recovery utility"
+url="https://hashcat.net/hashcat/"
+arch="all !s390x" # compiling for big-endian architecture not supported
+license="MIT"
+makedepends="linux-headers findutils opencl-headers xxhash-dev zlib-dev minizip-dev"
+subpackages="$pkgname-doc"
+source="https://github.com/hashcat/hashcat/archive/v$pkgver/hashcat-$pkgver.tar.gz
+ 0001-fix-modules-path.patch"
+options="!check" # no checks provided
+
+build() {
+ make PREFIX="/usr" \
+ USE_SYSTEM_OPENCL=1 \
+ USE_SYSTEM_XXHASH=1 \
+ USE_SYSTEM_ZLIB=1
+}
+
+package() {
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+}
+
+sha512sums="
+b5e4f40fb5ed0a47977243e1f95bf1deae0b04bd5ca26338395305c42573fe5b17557835f6f5d8b7402812e8eadda2b260d6b927ce99429fd1b87eb26f002f8a hashcat-6.2.6.tar.gz
+9a58e709d69910f0f33cd7b0151b4709b78bd55b8592ad51e9bc5d41b807aaddaf87ed09102da3955f757a84349f59d7e06b073c6031b763418e3334da3de8a7 0001-fix-modules-path.patch
+"