updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pychomik / PKGBUILD
blobfcf6b0476157ef8900d2d55b81eddb0d5ba4da37
1 # Maintainer: desperat <yoshibz at gmail dot com>
3 pkgname=pychomik
4 pkgver=0.4.0
5 pkgrel=1
6 pkgdesc="Uplading directories and/or files to http://chomikuj.pl. Type chomik -h for help"
7 arch=('i686' 'x86_64')
8 url="http://chomikuj.pl/adam_gr/ChomikUploader"
9 license=('LGPL')
10 #depends=('')
11 #optdepends=('')
12 #install="$pkgname.install"
13 source=("http://dl.dropbox.com/u/3218906/AUR/$pkgname/chomikUploader-$pkgver.zip")
14 md5sums=('5cba37c21c9d43bf8b8619b963765f35')
16 build() {
17   cd "$srcdir/chomikUploader-$pkgver"
19   export PYTHON="python2"
20   sed -i "s|env python|&2|" `grep -Erl "env python" .`
22   python2 setup.py build
25 package() {
26   cd "$srcdir/chomikUploader-$pkgver"
28   python2 setup.py install --prefix=/usr --root="$pkgdir/"
29   alias pychomik='chomik'