diff --git a/main/noisetorch/build b/main/noisetorch/build new file mode 100644 index 0000000..e73fd0b --- /dev/null +++ b/main/noisetorch/build @@ -0,0 +1,16 @@ +# Maintainer: earnest ma +name=noisetorch +version=0.11.3 +rev=0 +type=file +url="https://github.com/lawl/NoiseTorch" +description="Real-time microphone noise suppression on Linux" + +source="https://github.com/lawl/NoiseTorch/releases/download/${version}/NoiseTorch_x64.tgz" + +sha512sums="475511582b964aad0b1ce8df6eae091d57cc5314d09e1cfaacf29b7b1946035afd6ecc4b109770376ae14d8bd42b1e1e335527658067e7fa84fbbe373d20e01f NoiseTorch_x64.tgz" + +steps(){ + tar -xf NoiseTorch_x64.tgz + cp -r .local $builddir/usr +} diff --git a/main/noisetorch/postinst b/main/noisetorch/postinst new file mode 100755 index 0000000..55bee02 --- /dev/null +++ b/main/noisetorch/postinst @@ -0,0 +1 @@ +setcap 'CAP_SYS_RESOURCE=+ep' /usr/bin/noisetorch