blob: 977cebe4c9e8a1cb4b0b33a620e1631534a23e9b (
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: Łukasz Mariański <lmarianski@protonmail.com>
pkgname=lv2-speech-denoiser-git
pkgver=04cfba9
pkgrel=1
epoch=
pkgdesc=""
arch=('x86_64')
url="https://github.com/lucianodato/speech-denoiser"
license=('LGPL-3.0')
groups=()
depends=()
makedepends=("glibc" "git" "meson" "lv2")
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
# source=()
# noextract=()
# md5sums=()
validpgpkeys=()
prepare() {
if [ -d "speech-denoiser" ]; then rm -Rf speech-denoiser; fi
git clone -n https://github.com/lucianodato/speech-denoiser.git
cd speech-denoiser
git config --local advice.detachedHead false
git checkout $pkgver
head -n -1 install.sh > install_new.sh
}
build() {
cd speech-denoiser
# chmod +x install.sh && ./install.sh
chmod +x install_new.sh && ./install_new.sh
}
# check() {
# cd "$pkgname-$pkgver"
# make -k check
# }
package() {
cd speech-denoiser/build
# make DESTDIR="$pkgdir/" install
DESTDIR="$pkgdir/" ninja install
}
|