summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7102e4b6a84e586c9471eff57536c74baa42a413 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
pkgbase=echoverb
pkgname=('echoverb-data-bin' 'echoverb-lv2-bin' 'echoverb-vst3-bin')
pkgver=1.0.1
pkgrel=3
arch=('x86_64')
url="https://audioassault.mx/plugin/EchoVerb"
license=('EULA')
depends=('alsa-lib' 'bzip2' 'brotli' 'freetype2' 'glibc' 'graphite' 'harfbuzz' 'keyutils' 'krb5' 'libcurl-gnutls' 'libffi' 'libnghttp2' 'libidn2' 'libp11-kit' 'libpng' 'libpsl' 'libssh2' 'libtasn1' 'libunistring' 'libxau' 'libxcb' 'libx11' 'nettle' 'openssl' 'pcre2' 'zlib' 'zstd')
makedepends=('xdg-user-dirs' 'unzip')
provides=('echoverb')
source=('EchoVerb Linker'
        'https://5db5public.s3.amazonaws.com/EchoVerbLinux.zip')
sha256sums=('341fb36de011892344b656a3da21e7a20ff1910052ccb488757fd40252390def'
            'bb256bd4043e88bbc95144e3681897ff20b246a837937cd0e33e7c0bad2a237e')


package_echoverb-data-bin() {
    ## Install Asset Data
    pkgdesc="Original Algorithmic Reverb Plugin (Data Assets)"
    groups=('pro-audio')

    ## Make data assets dir
    mkdir -p "$pkgdir/usr/lib/5db5/EchoVerb/Presets"

    ## Copy assets to data directory
    cp -r "$srcdir/Presets"/* "$pkgdir/usr/lib/5db5/EchoVerb/Presets"

    ## Install EchoVerb Linker Script
    install -Dm755 "$srcdir/EchoVerb Linker" "$pkgdir/usr/bin/EchoVerb Linker"
}

package_echoverb-lv2-bin() {
    ## Install LV2 Plugin
    pkgdesc="Original Algorithmic Reverb Plugin (LV2)"
    depends=('echoverb-data-bin')
    groups=('pro-audio' 'lv2-plugins')
    install -Dm755 "$srcdir/EchoVerb.lv2/EchoVerb.so" "$pkgdir/usr/lib/lv2/EchoVerb.lv2/EchoVerb.so"
    install -Dm644 "$srcdir/EchoVerb.lv2/dsp.ttl" "$pkgdir/usr/lib/lv2/EchoVerb.lv2/dsp.ttl"
    install -Dm644 "$srcdir/EchoVerb.lv2/manifest.ttl" "$pkgdir/usr/lib/lv2/EchoVerb.lv2/manifest.ttl"
    install -Dm644 "$srcdir/EchoVerb.lv2/ui.ttl" "$pkgdir/usr/lib/lv2/EchoVerb.lv2/ui.ttl"
}

package_echoverb-vst3-bin() {
    ## Install VST3 Plugin
    pkgdesc="Original Algorithmic Reverb Plugin (VST3)"
    depends=('echoverb-data-bin')
    groups=('pro-audio' 'vst3-plugins')
    install -Dm755 "$srcdir/EchoVerb.vst3/Contents/Resources/moduleinfo.json" "$pkgdir/usr/lib/vst3/EchoVerb.vst3/Contents/Resources/moduleinfo.json"
    install -Dm755 "$srcdir/EchoVerb.vst3/Contents/x86_64-linux/EchoVerb.so" "$pkgdir/usr/lib/vst3/EchoVerb.vst3/Contents/x86_64-linux/EchoVerb.so"
}