blob: 6d9eab082d48ed5e4cc512b38d7f6cd3d8558445 (
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
26
27
28
29
30
31
32
|
# Maintainer: CrocoDuck <crocoduck dot oducks at gmail dot com>
pkgname=noise-repellent-git
pkgver=r574.9efdd0b
pkgrel=1
pkgdesc="An lv2 plugin for broadband noise reduction."
arch=('i686' 'x86_64')
url="https://github.com/lucianodato/noise-repellent"
license=('LGPL3')
depends=('fftw')
makedepends=('git' 'lv2' 'meson')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+https://github.com/lucianodato/noise-repellent.git")
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-*}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-*}"
meson --prefix "/usr/lib/lv2" --buildtype=release build
ninja -v -C build
ninja -C build test
}
package() {
cd "${pkgname%-*}"
DESTDIR="$pkgdir" ninja -C build install
}
|