summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b68fd6fc980067f0546adcbcfb4ba4a262a84178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Omar Emara <mail@OmarEmara.dev>
pkgname=alsa-rnnoise
pkgver=1.0
pkgrel=1
pkgdesc="An ALSA plugin for noise removal based on RNNoise."
arch=('x86_64')
url="https://sr.ht/~arsen/alsa_rnnoise/"
license=('GPL3')
depends=('rnnoise' 'alsa-lib')
makedepends=('meson' 'ninja' 'git')
source=("${pkgname}-v${pkgver}.tar.gz::https://git.sr.ht/~arsen/alsa_rnnoise/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
  meson \
    -Dprefix=/usr \
    -Dstatic_rnnoise=false \
    -Dconfig_dir=/etc/alsa/conf.d/ \
    build "alsa_rnnoise-v${pkgver}"
  ninja -C build
}

package() {
  DESTDIR="$pkgdir" ninja -C build install
}