summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d3f8aadd80fc9a56c7188af6bc2d176b048ca9a (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
39
40
41
42
# Maintainer:  JP-Ellis <josh@jpellis.me>
pkgname=papis
pkgver=0.7
pkgrel=1
pkgdesc="Papis is a powerful and highly extensible command-line based document and bibliography manager."
arch=('any')
url="https://github.com/papis/papis"
license=('GPL')
depends=('python'
         'python-argcomplete'
         'python-arxiv2bib'
         'python-beautifulsoup4'
         'python-bibtexparser'
         'python-future'
         'python-habanero'
         'python-magic-ahupp'
         'python-papis-python-rofi'
         'python-parse'
         'python-prompt_toolkit'
         'python-pylibgen'
         'python-pyparser'
         'python-unidecode'
         'python-urwid'
         'python-vobject'
        )
optdepends=()
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('e2853758d306dad1ad0ba4af5ab1ee0e0ef8613f1fa53a5a0e9f7a5e8f7ebc37')
noextract=()

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i '/configparser/d' setup.py
  python setup.py build
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}

# vim:set ts=2 sw=2 et: