makedeb


noisetorch-bin 0.12.2-2


Easy to use noise suppression for PulseAudio

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for noisetorch-bin.

# Maintainer: hiddeninthesand <hiddeninthesand at protonmail dot com>

pkgname='noisetorch-bin'
pkgver='0.12.2'
pkgrel='2'
pkgdesc='Easy to use noise suppression for PulseAudio'
arch=('x86_64')
url="https://github.com/noisetorch/NoiseTorch"
license=('GPL3')
depends=('libpolkit-agent-1-0' 'gir1.2-polkit-1.0')
optdepends=()
provides=('noisetorch')
conflicts=('noisetorch-git' 'noisetorch')
options=(!strip)
install="${pkgname}.install"
source=(
	"${pkgname}-${pkgver}.tar.gz::https://github.com/noisetorch/NoiseTorch/releases/download/v${pkgver/_/-}/NoiseTorch_x64_v${pkgver/_/-}.tgz"
	"${pkgname}.install"
)
b2sums=('24a8604f31c3aa874f85fe6c5b324946be79c090ea3c8f1501f2c0507cf8aec27c90e16686d9ec934cafc8b8d5605c596a1c2cf97e6615f3cc318d65618618c1'
        '4a767b2bb0f30c887a541b9fe84d608e3265c8d6876d999b036848a1f75e215fb02e579e645eae10113bcb9a79d2c3bf488191aa6f82f022cd6b59380e09ea35')

package() {
	install -D -m755 .local/bin/noisetorch "${pkgdir}/usr/bin/noisetorch"
	install -D -m644 .local/share/applications/noisetorch.desktop \
		"${pkgdir}/usr/share/applications/noisetorch.desktop"

	install -D -m644 .local/share/icons/hicolor/256x256/apps/noisetorch.png \
		"${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png"
}