updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / cfv / PKGBUILD
blob775143ef88c694aa845881cd6414b1404f789442
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Lone_Wolf <lonewolf@xs4all.nl>
3 # Aur Maintainer: @jsalwan
5 pkgname=cfv
6 pkgver=1.18.3
7 _fullver="$pkgname-$pkgver"
8 pkgrel=3
9 pkgdesc="An utility to both test and create checksum files"
10 arch=('any')
11 url="http://cfv.sourceforge.net/"
12 license=('GPL')
13 depends=('python2')
14 optdepends=('pil: for creation the dimensions column of .crc files'
15             'python-fchksum: for increase checksumming speed a bit'
16             'bittorrent: for torrent checking')
17 source=(http://downloads.sourceforge.net/$pkgname/$_fullver.tar.gz)
18 md5sums=('1be9039c2ab859103d70b6c4f4e5edf5')
20 build() {
21   cd "$srcdir/$_fullver"
22   patch -p 0 << DIFF
23 --- cfv
24 +++ cfv
25 @@ -1,3 +1,3 @@
26 -#! /usr/bin/env python
27 +#! /usr/bin/env python2
29  #    cfv - Command-line File Verify
30 DIFF
33 package() {
34   make -C "$srcdir/$_fullver" install=install PYTHON=python2 prefix=/usr \
35     mandir=/usr/share/man DESTDIR="$pkgdir" install