Want more features on Pastebin? Sign Up, it's FREE!
Guest

Arch PKGBUILD for rarcrack

By: hermes14 on Jun 28th, 2012  |  syntax: Bash  |  size: 0.96 KB  |  views: 148  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: jll <paci79@free.fr>
  2. # Contributor: Giancarlo Bianchi <giancarlobianchi76 -at- gmail -dot- com>
  3.  
  4. pkgname=rarcrack
  5. pkgver=0.2
  6. pkgrel=1
  7. pkgdesc=" This program uses bruteforce algorithm to find correct password (rar, 7z, zip)"
  8. arch=('i686' 'x86_64')
  9. license=('GPL')
  10. url="http://rarcrack.sourceforge.net/"
  11. depends=('libxml2')
  12. optdepends=('unrar: to crack rar archives'
  13. 'unrar-free: to crack rar archives'
  14. 'p7zip: to crack 7z archives'
  15. 'unzip: to crack zip archives')
  16. source=("http://sourceforge.net/projects/rarcrack/files/rarcrack-0.2/%5BUnnamed%20release%5D/$pkgname-$pkgver.tar.bz2/download")
  17.  
  18. md5sums=('62d0cf77c6c4edc7204305649f8b7362')
  19.  
  20. build() {
  21.   cd $srcdir/$pkgname-$pkgver
  22.   make
  23. }
  24.  
  25. package() {
  26.   cd $srcdir/$pkgname-$pkgver
  27.   install -D -m0755 rarcrack $pkgdir/usr/bin/rarcrack
  28.   install -d -m0755 $pkgdir/usr/share/doc/$pkgname
  29.   install -m0644 -t $pkgdir/usr/share/doc/$pkgname CHANGELOG LICENSE README README.html RELEASE_NOTES
  30. }
clone this paste RAW Paste Data