Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
hashcat


Commits:
87356cc5 by Acid Xeon at 2026-01-01T22:27:58+01:00
Install bash completion

>From 
>https://github.com/hashcat/hashcat/blob/v6.2.6/extra/tab_completion/hashcat.sh
- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -17,6 +17,11 @@ 
sha512sums=('89213058aaa2be3aa62dfab8acd5c61a7c8bd58a63ce2c3c1472960e122ca554f63
             'SKIP')
 validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing 
key <[email protected]>
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -ri 's!^(HASHCAT_ROOT=).*!\1\"/usr/bin\"!' 
extra/tab_completion/${pkgname}.sh
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   rm -rf deps/{OpenCL-Headers,xxHash}
@@ -42,6 +47,7 @@ package() {
     USE_SYSTEM_OPENCL=1 \
     USE_SYSTEM_ZLIB=1 \
     install
+  install -Dm 644 extra/tab_completion/${pkgname}.sh 
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
   install -Dm 644 docs/license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hashcat/-/commit/87356cc51754f90909b5be1e3cee4e839e07982e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hashcat/-/commit/87356cc51754f90909b5be1e3cee4e839e07982e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to