[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at archlinux.org
Mon May 22 16:28:10 UTC 2017


    Date: Monday, May 22, 2017 @ 16:28:09
  Author: anthraxx
Revision: 229196

addpkg: hashcat-utils 1.8-2

Added:
  hashcat-utils/
  hashcat-utils/repos/
  hashcat-utils/trunk/
  hashcat-utils/trunk/PKGBUILD

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

Added: hashcat-utils/trunk/PKGBUILD
===================================================================
--- hashcat-utils/trunk/PKGBUILD	                        (rev 0)
+++ hashcat-utils/trunk/PKGBUILD	2017-05-22 16:28:09 UTC (rev 229196)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Elvis Angelaccio <elvis.angelaccio at kde.org>
+
+pkgname=hashcat-utils
+pkgver=1.8
+pkgrel=2
+pkgdesc='Set of small utilities that are useful in advanced password cracking'
+url='https://github.com/hashcat/hashcat-utils'
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('perl')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/hashcat/${pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('c57f2ff1c43e65972fd9dde31322f4b9178d65a28cca3adc235ae41a5982f11c')
+sha512sums=('c096d31bb9d6421a8943ba7da6e13f4778695d8a43b7e9a8e9e302f2971973fdcebda42c91d315c787e4475d8b78bdb90b9d2a0c675c8e55f4687f222e50b4e5')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make -C src
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  for bin in src/*.bin; do
+      install -Dm 755 ${bin} "${pkgdir}/usr/bin/$(basename ${bin} .bin)"
+  done
+  for script in src/*.pl; do
+      install -Dm 755 ${script} "${pkgdir}/usr/bin/$(basename ${script} .pl)"
+  done
+  install -Dm 644 README.md CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list