Advertisement
Unknown47

crunch

Aug 31st, 2011
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. pkgname=crunch
  2. pkgver=3.1
  3. pkgrel=1
  4. pkgdesc="A wordlist generator for all combinations/permutations of a given character set"
  5. arch=('i686' 'x86_64')
  6. url="http://sourceforge.net/projects/crunch-wordlist/"
  7. license=('GPL')
  8. depends=('glibc')
  9. source=("http://downloads.sourceforge.net/crunch-wordlist/$pkgname-$pkgver.tgz"
  10. "http://downloads.sourceforge.net/crunch-wordlist/readme.txt")
  11. md5sums=('d5197b894f2701295e85164c85c94d8f'
  12. '5304f648c80fccdfd392a8f83e91d815')
  13.  
  14. build() {
  15. cd "$srcdir/$pkgname${pkgver}"
  16.  
  17. make
  18. }
  19.  
  20. package() {
  21. cd "$srcdir/$pkgname${pkgver}"
  22.  
  23. # bin
  24. install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
  25.  
  26. # Data, doc and man file
  27. install -Dm644 charset.lst "$pkgdir/usr/share/$pkgname"
  28. install -Dm644 ../readme.txt "$pkgdir/usr/share/doc/$pkgname"
  29. install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement