pkgname=crunch pkgver=3.1 pkgrel=1 pkgdesc="A wordlist generator for all combinations/permutations of a given character set" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/crunch-wordlist/" license=('GPL') depends=('glibc') source=("http://downloads.sourceforge.net/crunch-wordlist/$pkgname-$pkgver.tgz" "http://downloads.sourceforge.net/crunch-wordlist/readme.txt") md5sums=('d5197b894f2701295e85164c85c94d8f' '5304f648c80fccdfd392a8f83e91d815') build() { cd "$srcdir/$pkgname${pkgver}" make } package() { cd "$srcdir/$pkgname${pkgver}" # bin install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname" # Data, doc and man file install -Dm644 charset.lst "$pkgdir/usr/share/$pkgname" install -Dm644 ../readme.txt "$pkgdir/usr/share/doc/$pkgname" install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1" }