1 # Contributer: Philipp Geyer <nistur@gmail.com>
2 # Mantainer: Gustavo Alvarez <sl1pkn07@gmail.com>
6 download=crark34-linux-cuda.rar
8 pkgdesc="A command-line utility for RAR 2.x-3.x password cracking, uses Password Cracking Library 2.0 that supports special password recovery language. Highly optimized for all modern processors. with CUDA support"
10 url="http://www.crark.net/"
15 provides=('crark-cuda')
16 source=("http://www.crark.net/download/${download}")
17 md5sums=('e25043639a15c3322a5d1cde39dbbf0c')
20 if [ "$CARCH" = "i686" ]; then
21 depends[${#depends[@]}]=nvidia-utils
22 elif [ "$CARCH" = "x86_64" ]; then
23 depends[${#depends[@]}]=lib32-nvidia-utils
28 mkdir -p ${pkgname}-${pkgver}
29 unrar x -xcrackme ${download} ${pkgname}-${pkgver}
30 cd ${srcdir}/${pkgname}-${pkgver}
33 mkdir -p ${pkgdir}/opt/${pkgname}
34 cp -R ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/opt/${pkgname}
35 chmod +r ${pkgdir}/opt/${pkgname}/{spanish,english,russian}.def