desktop/python-urlreader/PKGBUILD
2014-04-11 12:03:58 +00:00

30 lines
780 B
Bash

# Maintainer: Fabien Valthier (hcooh) <hcoohb ah gmail dog com>
pkgname=python2-urlreader
_pkgname=URLReader
pkgver=0.0a1
pkgrel=1
pkgdesc="Simple Python package to download documents using HTTP."
arch=('x86_64')
url="http://hg.mtjm.eu/urlreader/tags"
license=('GPL3')
depends=('python2' 'python2-setuptools')
makedepends=('python2-setuptools')
provides=('python-urlreader')
conflicts=('python-urlreader')
replaces=('python-urlreader')
categories=('network')
source=("http://pypi.python.org/packages/source/U/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('5a96519a24099aae05fc0612d9cfd650')
build() {
cd $srcdir/$_pkgname-$pkgver
}
package() {
cd $srcdir/$_pkgname-$pkgver
export PYTHON="/usr/bin/python2"
python2 setup.py install --root=$pkgdir/ --optimize=1
}