# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-lunr
version=0.5.8
build=1sml
homepage="https://github.com/yeraydiazdiaz/lunr.py"
desc="Python fork of lunr.js"
requires="python-tornado"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf lunr-$version

  tar xf $srcdir/lunr-$version.tar.?z*
  cd lunr-$version
  fixbuilddirpermissions
}

build() {
  python3 setup.py install --root=$pkg
  cp LICENSE $pkgdocs/

  mkfinalpkg
}

sha512sums="
ebdbf322ce6dde022e5d9a9aaee010b7eb727eb340c155a69072cd573c05d7e5b9f4aeef9cf34a3b86f7716f767053c05061ac79a1c9ebf24322fe94102f4c6b  lunr-0.5.8.tar.gz
"
