blob: c320b9e3b3395c87de07a21b4d45d71767f05171 (
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
|
# Maintainer: Stefan Dimitrijevic <stefanstele95@hotmail.com>
pkgname='linvam'
pkgver=0.6.1
pkgrel=2
pkgdesc='Linux voice activated macros'
arch=('x86_64')
url='https://github.com/stele95/LinVAM'
arch=('x86_64')
license=('GPL3')
makedepends=(
'python'
'nuitka'
'git'
)
depends=(
'python'
'python-pyqt6'
'python-srt'
'python-requests'
'python-tqdm'
'python-sounddevice'
'python-vosk-bin'
'ffmpeg'
'ydotool'
)
provides=(
'linvam'
'linvamrun'
)
conflicts=(
'linvam'
'linvamrun'
)
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('9f5947fefd19deabd13bcfc3b8b89c5af3b6291b640baf31e5095f5d0d087d2d')
options=('debug')
install=linvam.install
build() {
current_CFLAGS=$CFLAGS
export CFLAGS=''
cd "LinVAM-$pkgver"/scripts
source ./build.sh
export CFLAGS=$current_CFLAGS
}
package() {
install "LinVAM-$pkgver"/src/LinVAM.desktop -Dm644 "$pkgdir/usr/share/applications/LinVAM.desktop"
install "LinVAM-$pkgver"/scripts/linvam -Dm755 "$pkgdir/usr/bin/linvam"
install "LinVAM-$pkgver"/scripts/linvamrun -Dm755 "$pkgdir/usr/bin/linvamrun"
install "LinVAM-$pkgver"/LICENSE.txt -Dm644 "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
install "LinVAM-$pkgver"/rules/12-input.rules -Dm644 "$pkgdir/etc/udev/rules.d/12-input.rules"
install "LinVAM-$pkgver"/rules/50-uinput.rules -Dm644 "$pkgdir/etc/udev/rules.d/50-uinput.rules"
install "LinVAM-$pkgver"/rules/80-uinput.rules -Dm644 "$pkgdir/etc/udev/rules.d/80-uinput.rules"
}
|