33 lines
1.1 KiB
Bash
Executable File
33 lines
1.1 KiB
Bash
Executable File
name='noisetorch'
|
|
version='0.12.2'
|
|
release='1'
|
|
desc='NoiseTorch-ng is an easy to use open source application for Linux with PulseAudio or PipeWire. It creates a virtual microphone that suppresses noise, in any application.'
|
|
homepage='https://github.com/noisetorch/NoiseTorch'
|
|
architectures=('amd64')
|
|
license=('GPLv3')
|
|
provides=('noisetorch')
|
|
conflicts=('noisetorch')
|
|
|
|
deps_amd64=('git' 'go')
|
|
deps_amd64_debian=('git' 'golang')
|
|
build_deps=('git' 'go')
|
|
build_deps_debian=('git' 'golang')
|
|
|
|
sources_amd64=("git+https://github.com/noisetorch/NoiseTorch.git#tag=v${version}")
|
|
checksums_amd64=('4a30650314a6f83d979f3303d49618847ba58e39e3e26482dfe58b5e261c5611')
|
|
|
|
prepare() {
|
|
cd "${srcdir}/NoiseTorch"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/NoiseTorch"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 "${srcdir}/NoiseTorch/bin/noisetorch" "${pkgdir}/usr/bin/noisetorch"
|
|
install -Dm644 "${srcdir}/NoiseTorch/assets/noisetorch.desktop" "${pkgdir}/usr/share/applications/noisetorch.desktop"
|
|
install -Dm644 "${srcdir}/NoiseTorch/assets/icon/noisetorch.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png"
|
|
}
|