summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36031e29a93fb35daae40897127e1f3283bd7dfd (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
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>

pkgname=string-machine
pkgver=0.1.0
pkgrel=1
pkgdesc="A virtual-analog string ensemble synthesizer LV2 and VST2 plugin"
arch=('i686' 'x86_64')
url="https://github.com/jpcima/string-machine"
license=('Boost')
depends=('cairo')
makedepends=('boost' 'git' 'mesa')
groups=('pro-audio' 'lv2-plugins' 'vst-plugins')
source=("https://github.com/jpcima/string-machine/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('5b0d2eb2185199c1de6c7c35700a2caafbc6ba564529a2e7614c15c3aceacc6f')


build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  # Create installation directories
  install -dm755 "${pkgdir}"/usr/lib/vst
  install -dm755 "${pkgdir}"/usr/lib/lv2/${pkgname}.lv2
  # LV2 bundle
  install -Dm644 bin/${pkgname}.lv2/*.ttl -t \
    "${pkgdir}"/usr/lib/lv2/${pkgname}.lv2
  install -Dm755 bin/${pkgname}.lv2/*.so -t \
    "${pkgdir}"/usr/lib/lv2/${pkgname}.lv2
  # VST shared library
  install -m755 bin/${pkgname}-vst.so "${pkgdir}"/usr/lib/vst
}