diff options
author | Jorge Pizarro-Callejas | 2023-02-19 13:00:12 -0300 |
---|---|---|
committer | Jorge Pizarro-Callejas | 2023-02-19 13:00:12 -0300 |
commit | af2e3e57ff359fc0671000461461870a881cdc69 (patch) | |
tree | 52012f4a904a2dacce93178145a9664cffc93b2a | |
parent | bc442f881348ec8262d7a7ad24109b301da53f7c (diff) | |
download | aur-af2e3e57ff359fc0671000461461870a881cdc69.tar.gz |
Package reworked
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 17 insertions, 18 deletions
@@ -1,16 +1,20 @@ pkgbase = noise-suppression-for-voice-git pkgdesc = A real-time noise suppression plugin for voice - pkgver = 0.91.r8.g6922453 + pkgver = 1.03.r2.gc1cf430 pkgrel = 1 url = https://github.com/werman/noise-suppression-for-voice arch = x86_64 license = GPL3 makedepends = cmake makedepends = git - depends = gcc-libs + makedepends = libx11 + makedepends = libxrandr + makedepends = libxinerama + makedepends = libxcursor + depends = freetype2 provides = noise-suppression-for-voice conflicts = noise-suppression-for-voice - source = git+https://github.com/werman/noise-suppression-for-voice.git + source = noise-suppression-for-voice::git+https://github.com/werman/noise-suppression-for-voice.git sha256sums = SKIP pkgname = noise-suppression-for-voice-git @@ -1,38 +1,33 @@ # Maintainer: Jorge Pizarro-Callejas (Jorgicio) <jpizarrocallejas@gmail.com> pkgname=noise-suppression-for-voice-git _pkgname=${pkgname%-git} -pkgver=0.91.r8.g6922453 +pkgver=1.03.r2.gc1cf430 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') +source=("$_pkgname"::"git+${url}.git") license=('GPL3') -depends=('gcc-libs') -makedepends=('cmake' 'git') +depends=('freetype2') +makedepends=('cmake' 'git' 'libx11' 'libxrandr' 'libxinerama' 'libxcursor') provides=(${_pkgname}) conflicts=(${_pkgname}) +sha256sums=('SKIP') pkgver() { cd ${_pkgname} git describe --long --tags | sed 's/^v//;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 + cmake -B build -S "$_pkgname" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_BUILD_TYPE=None + cmake --build build } package() { - cd ${_pkgname}/build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" cmake --install build } # vim:set ts=2 sw=2 et: -sha256sums=('SKIP') |