diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 17 insertions, 14 deletions
@@ -1,16 +1,18 @@ # Generated by mksrcinfo v8 -# Sun Dec 6 16:56:22 UTC 2015 +# Thu Dec 10 13:50:15 UTC 2015 pkgbase = hashcat-utils-git pkgdesc = Hashcat-utils are a set of small utilities that are useful in advanced password cracking. pkgver = 1.2.r1.g9135127 - pkgrel = 1 + pkgrel = 2 url = https://github.com/hashcat/hashcat-utils arch = i686 arch = x86_64 license = MIT makedepends = git makedepends = make + depends = perl provides = hashcat-utils + conflicts = hashcat-utils source = git://github.com/hashcat/hashcat-utils.git md5sums = SKIP @@ -1,24 +1,15 @@ -# This is an example PKGBUILD file. Use this as a start to creating your own, -# and remove these comments. For more information, see 'man PKGBUILD'. -# NOTE: Please fill out the license field for your package! If it is unknown, -# then please put 'unknown'. - -# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines -# for more information on packaging from GIT sources. - -# Maintainer: Your Name <youremail@domain.com> pkgname=hashcat-utils-git pkgver=1.2.r1.g9135127 -pkgrel=1 +pkgrel=2 pkgdesc="Hashcat-utils are a set of small utilities that are useful in advanced password cracking." arch=('i686' 'x86_64') url="https://github.com/hashcat/hashcat-utils" license=('MIT') groups=() -depends=() +depends=('perl') makedepends=('git' 'make') provides=('hashcat-utils') -conflicts=() +conflicts=('hashcat-utils') replaces=() backup=() options=() @@ -39,6 +30,7 @@ build() { cd "$srcdir/$_gitname/src" make linux + strip *.bin } package() { @@ -56,6 +48,15 @@ package() { mv $i ${i%.*} done + cd "$srcdir/$_gitname/src" + + cp ./*.pl "$pkgdir/usr/bin" + + for i in $(ls "." | grep -E "\.pl$") + do + chmod +x $i + done + } # vim:set ts=2 sw=2 et: |