diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..29acdc177402 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = arxivcheck + pkgdesc = Generate a bibtex given a arxiv id or title, check if published + pkgver = 0.3.1 + pkgrel = 1 + url = https://github.com/bibcure/arxivcheck + arch = any + license = AGPL3 + depends = python-future + depends = python-unidecode + depends = python-feedparser + depends = python-bibtexparser + depends = doi2bib + source = arxivcheck-0.3.1.tar.gz::https://github.com/bibcure/arxivcheck/archive/0.3.1.tar.gz + sha256sums = ce833cdbc6e3145180167e43462757453150bd2eaafe62c00f4a6349c0716837 + +pkgname = arxivcheck + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b148ace786fb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Excitable Snowball <excitablesnowball@gmail.com> + +pkgname=arxivcheck +pkgver=0.3.1 +pkgrel=1 +pkgdesc="Generate a bibtex given a arxiv id or title, check if published" +url="https://github.com/bibcure/arxivcheck" +arch=('any') +license=('AGPL3') +depends=('python-future' 'python-unidecode' 'python-feedparser' 'python-bibtexparser' 'doi2bib') +source=("$pkgname-$pkgver.tar.gz::https://github.com/bibcure/arxivcheck/archive/$pkgver.tar.gz") +sha256sums=('ce833cdbc6e3145180167e43462757453150bd2eaafe62c00f4a6349c0716837') + +package() { + cd $pkgname-$pkgver + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |