updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / threadzip / PKGBUILD
blob36888a9d9abc62ba8a4afc51e42a456e887fef86
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=threadzip
4 pkgver=1.1
5 pkgrel=1
6 pkgdesc="A parallel, threaded zip, zlib, lzo, bzip2, lzma, or whatever compressor" 
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/threadzip"
9 license=('GPL')
10 depends=('python')
11 source=("http://threadzip.googlecode.com/files/$pkgname-$pkgver.tar.gz")
12 md5sums=('10e622c46349fdcf0ed3eafc81ad9ff7')
14 package() {
15  for file in threadzip.py threadunzip.py; do
16   install -Dm 755 "$srcdir/$pkgname-$pkgver/python/$file" "$pkgdir/usr/bin/$file"
17   sed -i 's,\(#!\)/usr/local/bin/python2.6,\1/usr/bin/python2,' "$pkgdir/usr/bin/$file"
18  done