# Maintainer: Raymond W. Ko _python=python _distname=docx pkgname=$_python-$_distname pkgver=0.8.11 pkgrel=1 pkgdesc="A Python library for creating and updating Microsoft Word (.docx) files" arch=(any) url="https://github.com/python-openxml/python-docx" license=('MIT') depends=('python>=3.4' 'python-lxml>=3.1.0') makedepends=('python-setuptools') provides=() conflicts=() replaces=() backup=() options=(!emptydirs) install= source=("https://github.com/python-openxml/${pkgname}/archive/v${pkgver}.tar.gz") md5sums=('c528ad6052ee635143d15f9c063e28ad') package() { cd "$srcdir/${pkgname}-${pkgver}" $_python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 || exit 1 }