summaryrefslogtreecommitdiff
path: root/community/fcrackzip/PKGBUILD
blob: efc742847c011ccad7df608dd9696088e9c051e3 (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
29
30
31
# $Id: PKGBUILD 97775 2013-09-29 15:22:35Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Daenyth <Daenyth+Arch at gmail dot com>

pkgname=fcrackzip
pkgver=1.0
pkgrel=4
pkgdesc='Zip file password cracker'
arch=('x86_64' 'i686')
url="http://oldhome.schmorp.de/marc/$pkgname.html"
license=('GPL')
depends=('glibc')
source=("http://oldhome.schmorp.de/marc/data/$pkgname-$pkgver.tar.gz")
sha256sums=('4a58c8cb98177514ba17ee30d28d4927918bf0bdc3c94d260adfee44d2d43850')

build() {
  cd "$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"

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

# vim:set ts=2 sw=2 et: