pkgname="papis" pkgver=0.6 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 $pkgname-vim-gui-add-notes-edit-key.patch) sha256sums=('2cb30ea9451e0a8b081d6ea9153f5220d703a4a49cf58ff0dd909bf249c50f81' 'ec7a2ada63b5eac58cc89e0230ef6db3438357c2669b7c0f88e247e0266cbe53') prepare() { cd "$srcdir/$pkgname-$pkgver" patch -Np1 -i "$srcdir/$pkgname-vim-gui-add-notes-edit-key.patch" } 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" }