diff options
author | Jorge Pizarro Callejas | 2021-12-15 00:08:27 -0300 |
---|---|---|
committer | Jorge Pizarro Callejas | 2021-12-15 00:08:27 -0300 |
commit | 8f39a2a244565e5f094692ef7e0c301b20f789d0 (patch) | |
tree | 9e8268d1de5429bd25e37b1914fee433b2a73261 | |
download | aur-8f39a2a244565e5f094692ef7e0c301b20f789d0.tar.gz |
New package: noise-suppression-for-voice-git
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a578d5e0f6ca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = noise-suppression-for-voice-git + pkgdesc = A real-time noise suppression plugin for voice + pkgver = 0.91.r8.g6922453 + pkgrel = 1 + url = https://github.com/werman/noise-suppression-for-voice + arch = x86_64 + license = GPL3 + makedepends = cmake + makedepends = git + depends = gcc-libs + provides = noise-suppression-for-voice + conflicts = noise-suppression-for-voice + source = git+https://github.com/werman/noise-suppression-for-voice.git + sha256sums = SKIP + +pkgname = noise-suppression-for-voice-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2b8c16ac5425 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Jorge Pizarro-Callejas (Jorgicio) <jpizarrocallejas@gmail.com> +pkgname=noise-suppression-for-voice-git +_pkgname=${pkgname%-git} +pkgver=v0.91.r8.g6922453 +pkgrel=1 +pkgdesc="A real-time noise suppression plugin for voice" +arch=('x86_64') +url="https://github.com/werman/noise-suppression-for-voice" +source=('git+https://github.com/werman/noise-suppression-for-voice.git') +license=('GPL3') +depends=('gcc-libs') +makedepends=('cmake' 'git') +provides=(${_pkgname}) +conflicts=(${_pkgname}) + +pkgver() { + cd ${_pkgname} + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd ${_pkgname} + mkdir build +} + +build() { + cd ${_pkgname}/build + cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=None .. + make +} + +package() { + cd ${_pkgname}/build + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: +sha256sums=('SKIP') |