summaryrefslogtreecommitdiff
path: root/community/fcrackzip/PKGBUILD
blob: e46ebb8392fd5fef5da16b7eac294077d7d274a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 67610 2012-03-13 14:10:18Z lcarlier $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Maintainer: Daenyth <Daenyth+Arch at gmail dot com>

pkgname=fcrackzip
pkgver=1.0
pkgrel=3
pkgdesc="A zip file password cracker"
arch=('i686' 'x86_64' 'mips64el')
url="http://oldhome.schmorp.de/marc/$pkgname.html"
license=('GPL')
depends=(glibc)
source=(http://oldhome.schmorp.de/marc/data/$pkgname-$pkgver.tar.gz)
md5sums=('254941f51759f9425965f4b05fe7ac2c')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
  mv ${pkgdir}/usr/bin/zipinfo ${pkgdir}/usr/bin/fzipinfo
}