blob: e36057673c0b48a92b6f2673e85748d307ac891d (
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
|
# Maintainer: TheJackiMonster <thejackimonster AT gmail DOT com>
_libname='aprilasr'
_reponame='april-asr'
pkgname="${_libname}-git"
pkgver='r151.3308e68'
pkgrel=1
pkgdesc='A minimal offline speech-to-text library written in C'
arch=('x86_64')
url="https://abb128.github.io/april-asr"
license=('GPL3')
makedepends=('cmake' 'onnxruntime')
optdepends=('onnxruntime: dynamic linking support')
provides=("${_libname}")
conflicts=("${_libname}")
source=("git+https://github.com/abb128/${_reponame}.git")
md5sums=('SKIP')
pkgver() {
cd "${_reponame}"
printf "'r%s.%s'" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_reponame}"
cmake -DCMAKE_BUILD_TYPE=Release .
make
}
package() {
cd "${srcdir}/${_reponame}"
make DESTDIR=$pkgdir install
}
|