updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / crunch / PKGBUILD
blob2ab36b32f827bd635b44af32dd5ea2b648b45e12
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Jinx <Jinxware[at]gmail[dot]com>
4 pkgname=crunch
5 pkgver=3.1
6 pkgrel=1
7 pkgdesc="A wordlist generator for all combinations/permutations of a given character set"
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/crunch-wordlist/"
10 license=('GPL')
11 depends=('glibc')
12 source=("http://downloads.sourceforge.net/crunch-wordlist/$pkgname-$pkgver.tgz"
13         "http://downloads.sourceforge.net/crunch-wordlist/readme.txt")
14 md5sums=('d5197b894f2701295e85164c85c94d8f'
15          '5304f648c80fccdfd392a8f83e91d815')
17 build() {
18   cd "$srcdir/$pkgname$pkgver"
20   make
23 package() {
24   cd "$srcdir/$pkgname$pkgver"
26   install -d "$pkgdir"/usr/{bin,share/{$pkgname,man/man1,doc/$pkgname}}
28   install -Dm755  $pkgname "$pkgdir/usr/bin"
30   # Data, docs and man file
31   install -Dm644 charset.lst "$pkgdir/usr/share/$pkgname"
32   install -Dm644 ../readme.txt "$pkgdir/usr/share/doc/$pkgname"
33   install -Dm644  $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"