summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/hashcat/PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/libre/hashcat/PKGBUILD b/libre/hashcat/PKGBUILD
index 1f99fd213..a7526ae9d 100644
--- a/libre/hashcat/PKGBUILD
+++ b/libre/hashcat/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=hashcat
-pkgver=3.30
+pkgver=3.40
pkgrel=1.parabola1
pkgdesc='Multithreaded advanced password recovery utility, without nonfree libxnvctrl recommendation'
url='https://hashcat.net/hashcat'
@@ -12,23 +12,18 @@ depends=('gmp' 'opencl-icd-loader')
makedepends=('opencl-headers')
license=('MIT')
source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc})
-sha512sums=('9c87978c72a595babec964e0c9ee506fdc24c870966dabf3854996808c910af369329e95932e1833a917a316441a83d6ba5cfff0f54bb5d8f9af6981243746cb'
+sha512sums=('fd8d1927703cfe56c7708c460cc142de4ce64d96b651ed68817b70e6a53cac376a191d16752cbb7cabfcb0230299301173a5eda6c27e6188e79b5d83d758378e'
'SKIP')
validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing key <signing@hashcat.net>
-prepare() {
- cd ${pkgname}-${pkgver}
- sed 's|-Wl,-rpath .||g' -i src/Makefile
-}
-
build() {
cd ${pkgname}-${pkgver}
- make PREFIX=/usr
+ make PREFIX=/usr SHARED=1
}
package() {
cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" PREFIX=/usr install
+ make DESTDIR="${pkgdir}" PREFIX=/usr SHARED=1 install
install -Dm 644 docs/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}