summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80d33d7aa25a47caad15aa0d245e78b87b4a198e (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
# Maintainer: Mateen Ulhaq <mulhaq2005+aur at gmail dot com>

pkgbase="python-arxiv"
pkgname=("python-arxiv")
_module="arxiv"
pkgver=2.1.0
pkgrel=1
pkgdesc="Python wrapper for the arXiv API: http://arxiv.org/help/api/"
url="https://github.com/lukasschwab/arxiv.py"
depends=("python" "python-feedparser" "python-requests")
makedepends=("python-setuptools")
license=("MIT")
arch=("any")
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=("eb4b1d5ab9dfd66027c344bb324c20be21d56fe15f6ce216ed5b209df747dea8")

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

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