pkgname="papis" pkgver=0.5.3 pkgrel=1 pkgdesc="Powerful and highly extensible command-line based document and bibliography manager." arch=(any) url="https://github.com/papis/papis" license=('GPLv3') depends=("python-setuptools" "python-papis_python_rofi" "python-requests" "python-argcomplete" "python-pyparsing" "arxiv2bib" "python-yaml" "python-chardet" "python-beautifulsoup4" "python-vobject" "python-prompt_toolkit" "python-bibtexparser" "python-unidecode" "python-pyparser" "python-pypi-magic" "python-pylibgen" "python-urwid" "python-habanero") source=($pkgname-$pkgver.tar.gz::https://github.com/papis/papis/archive/v$pkgver.tar.gz) sha256sums=('7463ac387b50b77ca122b2febdb21f8f7c689395f13242542ba510957dc358b7') build () { cd "$srcdir/$pkgname-$pkgver" sed -i "s/.*configparser/#&/" setup.py python setup.py build } package() { cd "$srcdir/$pkgname-$pkgver" python setup.py install --root="$pkgdir/" --prefix="/usr" }