blob: 5348aa7f6d2f8a16260e82d2d1d894d853685cc3 (
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
43
44
45
|
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"
}
|