[arch-commits] Commit in hashcat/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 20:06:55 UTC 2020


    Date: Tuesday, July 7, 2020 @ 20:06:54
  Author: foutrelis
Revision: 660199

archrelease: copy trunk to community-staging-x86_64

Added:
  hashcat/repos/community-staging-x86_64/
  hashcat/repos/community-staging-x86_64/PKGBUILD
    (from rev 660198, hashcat/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: hashcat/repos/community-staging-x86_64/PKGBUILD (from rev 660198, hashcat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 20:06:54 UTC (rev 660199)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sam Stuewe <halosghost at archlinux dot info>
+
+pkgname=hashcat
+pkgver=5.1.0
+pkgrel=2
+epoch=1
+pkgdesc='Multithreaded advanced password recovery utility'
+url='https://hashcat.net/hashcat'
+arch=('x86_64')
+depends=('ocl-icd' 'xxhash')
+makedepends=('opencl-headers')
+provides=('libhashcat.so')
+license=('MIT')
+source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha512sums=('90605c2bcd0ec275d2f6ec581899b95cdc320b1494613a19803192c8a08037a7829b3776ed42c58eb6551ec1a746f47f94ab5b273958ca74e0fc57315e209ece'
+            'SKIP')
+validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing key <signing at hashcat.net>
+
+build() {
+  cd ${pkgname}-${pkgver}
+  rm -rf deps/{OpenCL-Headers,xxHash}
+  make \
+    PREFIX=/usr \
+    SHARED=1 \
+    USE_SYSTEM_XXHASH=1 \
+    USE_SYSTEM_OPENCL=1
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make \
+    DESTDIR="${pkgdir}" \
+    PREFIX=/usr \
+    SHARED=1 \
+    USE_SYSTEM_XXHASH=1 \
+    USE_SYSTEM_OPENCL=1 \
+    install
+  install -Dm 644 docs/license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list