summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42251f6f2af780ccaedaccd07b5c07533f96cc21 (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
37
# Maintainer: aimileus < $(echo YWltaWxpdXNAcHJvdG9ubWFpbC5jb20K | base64 -d) >
pkgname=python-snowboy-git
_pkgname=snowboy
pkgver=v1.2.0.r128.g4ee4811
pkgrel=1
pkgdesc="A hotword detection engine - Python bindings"
arch=('x86_64')
url="https://snowboy.kitt.ai/"
license=('Apache')
depends=(
  'python'
  'atlas-lapack'
)
makedepends=(
  'swig'
  'python-setuptools'
)
conflicts=('python-snowboy')
provides=('python-snowboy')
source=("git+https://github.com/Kitt-AI/snowboy.git")
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "$_pkgname"
	python setup.py build
}


package() {
	cd "$_pkgname"
	python setup.py install --root="$pkgdir/" --prefix=/usr
}