updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / crark-cuda / PKGBUILD
blob725bb6da969bf6ebbad3f3253487be2a93df17d0
1 # Contributer: Philipp Geyer <nistur@gmail.com>
2 # Mantainer: Gustavo Alvarez <sl1pkn07@gmail.com>
4 pkgname=crark-cuda
5 pkgver=3.4a
6 download=crark34-linux-cuda.rar
7 pkgrel=2
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"
9 arch=('i686' 'x86_64')
10 url="http://www.crark.net/"
11 license="unknown"
12 options=('!strip')
13 depends=()
14 makedepends=('unrar')
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
27 build() {
28   mkdir -p ${pkgname}-${pkgver}
29   unrar x -xcrackme ${download} ${pkgname}-${pkgver}
30   cd ${srcdir}/${pkgname}-${pkgver}
32 package() {
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