blob: 26f89cfc21f9a96488a62caac759d3c298cf4ccc (
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
|
pkgname=carla-bridges-linux32
pkgver=6978.17000e7fe
pkgrel=1
pkgdesc="Carla Linux VST 32-Bit Bridge"
arch=(x86_64)
url="https://kxstudio.linuxaudio.org/Applications:Carla"
license=(GPL2)
groups=('pro-audio')
depends=('carla')
makedepends=("git" "gcc-multilib")
source=("$pkgname"::'git+https://github.com/falkTX/Carla.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
make -j$(nproc) posix32
}
package() {
cd "${srcdir}/$pkgname"
mkdir -p "${pkgdir}/usr/lib/carla"
mkdir -p "${pkgdir}/usr/lib/lv2/carla.lv2"
mkdir -p "${pkgdir}/usr/lib/vst/carla.vst"
cp bin/*posix32 "${pkgdir}/usr/lib/carla/"
cd "${pkgdir}/usr/lib/carla"
ln -sr *posix32 ../lv2/carla.lv2/
ln -sr *posix32 ../vst/carla.vst/
}
|