summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c03a4530b2bb924c28020446ad65ecf63120c72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor: Excitable Snowball <excitablesnowball@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=title2bib
pkgver=0.4.1
pkgrel=1
pkgdesc="Generate a bibtex given a title"
url="https://github.com/bibcure/title2bib"
arch=('any')
license=('AGPL3')
depends=('python-requests' 'python-future' 'doi2bib' 'arxivcheck' 'python-unidecode')
source=("$pkgname-$pkgver.tar.gz::https://github.com/bibcure/title2bib/archive/$pkgver.tar.gz")
sha256sums=('9a9be67f50e283d95f1c9018d2211f6e2c532249723c955babdbdcc948b20f66')

package() {
  cd $pkgname-$pkgver
  python setup.py install --root="$pkgdir"/ --optimize=1
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}