blob: c1f1254935732f8311a2ea1884a69b2479f900fa (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Contributor: vantu5z <vantu5z@mail.ru>
pkgname=vasisualy-git
pkgver=0.7.0
pkgrel=1
pkgdesc="Vasisualy is a simple Russian voice assistant written on python 3 for GNU/Linux and Windows."
arch=('i686' 'x86_64')
url="https://github.com/Oknolaz/vasisualy"
license=('GPL3')
depends=('rhvoice' 'speech-dispatcher'
'python>3'
'python-beautifulsoup4'
'python-geocoder'
'python-lxml'
'python-mss'
'python-plyer'
'python-pyaudio'
'python-pyalsaaudio'
'python-pyowm'
'python-pyqt5'
'python-pyqt5-webengine'
'python-qt-material'
'python-scipy'
'python-sounddevice'
'python-speechrecognition'
'python-translate'
'python-vlc'
'python-wikipedia')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=($pkgname::'git+https://github.com/Oknolaz/vasisualy.git'
${pkgname}-pi::'git+https://github.com/Oknolaz/vasisualy-pi.git'
${pkgname}-files::'git+https://github.com/Oknolaz/vasisualy-additional-files.git'
ru_w2n::'git+https://github.com/Oknolaz/Russian_w2n.git')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd ${pkgname}
echo $(python setup.py --version)
}
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
cd "${srcdir}/${pkgname}-pi"
python setup.py build
cd "${srcdir}/ru_w2n"
python setup.py build
}
package()
{
cd "${pkgname}-files"
install -Dm0755 "vasisualy.desktop" "${pkgdir}/usr/share/applications/vasisualy.desktop"
install -Dm0644 "vasisualy.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/vasisualy.svg"
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm0755 "run.py" "${pkgdir}/usr/bin/vasisualy"
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
cd "${srcdir}/${pkgname}-pi"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm0755 "run.py" "${pkgdir}/usr/bin/vasisualy-pi"
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}-pi/LICENSE"
cd "${srcdir}/ru_w2n"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/ru_w2n/LICENSE"
}
|