Skip to content

Instantly share code, notes, and snippets.

@olegkapitonov
Created January 10, 2020 07:22
Show Gist options
  • Save olegkapitonov/01db151c24a0db17d0ed904911a6dd65 to your computer and use it in GitHub Desktop.
Save olegkapitonov/01db151c24a0db17d0ed904911a6dd65 to your computer and use it in GitHub Desktop.
pkgname=kapitonov-plugins-pack-lv2-git
pkgver=v1.0.r23.g6e0cf49
pkgrel=1
pkgdesc="Kapitonov Plugins Pack (KPP) - Set of plugins for guitar sound processing. "
arch=('x86_64')
url="https://github.com/olegkapitonov/Kapitonov-Plugins-Pack"
license=('GPL3')
groups=('lv2-plugins')
depends=('cairo' 'fftw' 'zenity' 'zita-convolver' 'zita-resampler')
makedepends=('git' 'lv2' 'boost' 'meson')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+https://github.com/olegkapitonov/Kapitonov-Plugins-Pack")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-*}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-*}"
meson setup builddir -Dladspa=disabled --prefix=/usr
ninja -C builddir
}
package() {
cd "$srcdir/${pkgname%-*}"
DESTDIR="$pkgdir/" ninja -C builddir install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment