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"

build() {
  mkandenterbuilddir
  rm -rf lunr-$VERSION

  tar xf $SRCDIR/lunr-$VERSION.tar.?z*
  cd lunr-$VERSION
  fixbuilddirpermissions

  python3 setup.py install --prefix="" --root=$PKG
  cp LICENSE $PKGDOCS/

  mkfinalpkg
}

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