summaryrefslogtreecommitdiff
path: root/pcr/papis/PKGBUILD
blob: 1503d027152c22bfe6b9fe1aa27824e0a02e19e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"
}