# Maintainer: D. Can Celasun pkgname=python-lunr _pkgname=lunr pkgver=0.5.9 pkgrel=1 pkgdesc="A Python implementation of Lunr.js (for mkdocs)" arch=('any') url="https://github.com/yeraydiazdiaz/lunr.py" license=('MIT') # Most of these deps are transitive deps of python-nltk depends=('python-nltk>=3.2.5' 'python-future>=0.16.0' 'python-tqdm' 'python-joblib' 'python-regex') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz") sha256sums=('5ee777b068e2234c4a9496ecbd0abe7aa5e8ad5fdc7b79a09876669252b71202') build() { cd "${_pkgname}-$pkgver" python setup.py build } package() { cd "${_pkgname}-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" }