summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf017a538f21df7f0fc6d9e42e4b1ca0ea03b5ce (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
27
28
29
30
31
32
33
34
35
36
# Mantainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Contributor: Fabio Loli <fabio.loli@disroot.org>

_pkgname="trovotutto"
pkgname="${_pkgname}-git"
pkgver=0.1+1+g79846bc
pkgrel=1
pkgdesc='small naive python 3.x search engine using k-grams'
arch=('any')
url="https://github.com/tallero/${_pkgname}"
license=('AGPL3')
depends=(
  'python'
  'python-nltk'
  'python-pyxdg'
  'python-setproctitle')
makedepends=(
  'git'
  'python-setuptools')
source=(
  "${_pkgname}::git+${url}"
)
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

# shellcheck disable=SC2154
package() {
  cd "${_pkgname}"
  python3 setup.py install --root="${pkgdir}" --optimize=1
}

# vim: ts=2 sw=2 et: