diff --git a/python-rfc6266-parser/PKGBUILD b/python-rfc6266-parser/PKGBUILD new file mode 100644 index 0000000..890d3c1 --- /dev/null +++ b/python-rfc6266-parser/PKGBUILD @@ -0,0 +1,23 @@ +# Automatically generated by pip2arch on 2017-01-19 + +pkgname=python-rfc6266-parser +pkgver=0.0.5.post2 +pkgrel=1 +pkgdesc="Parse and generate Content-Disposition headers; Fork of rfc6266 with bugfixes." +url="https://github.com/SWW13/python-rfc6266-parser" +depends=('python') +makedepends=('python3') +license=('GNU LGPL') +arch=('any') +source=('https://pypi.python.org/packages/4d/3b/736916c90d3cebff44cde6407b307ad4fec6c8fb2ad2691573d340993a26/rfc6266-parser-0.0.5.post2.tar.gz') +md5sums=('c5933f455fe784b262711b2fb7e7e42c') + +build() { + cd $srcdir/rfc6266-parser-0.0.5.post2 + python setup.py build +} + +package() { + cd $srcdir/rfc6266-parser-0.0.5.post2 + python setup.py install --root="$pkgdir" --optimize=1 +}