summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorusrmusicman2019-03-14 18:05:27 -0400
committerusrmusicman2019-03-14 18:05:27 -0400
commit100f1539a0cbe2c9479efceac6bc3092668fb782 (patch)
treec0b90f52643c2696b3d4e9c02f0679a45519b091
downloadaur-100f1539a0cbe2c9479efceac6bc3092668fb782.tar.gz
20190314-1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD49
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dad64619c95
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = carla-bridges-wine
+ pkgdesc = Carla windows bridges
+ pkgver = 2.0rc4
+ pkgrel = 1
+ url = http://kxstudio.sf.net/carla
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = wine
+ depends = carla
+ provides = carla-bridges-win
+ conflicts = carla-bridges-win32
+ conflicts = carla-bridges-win64
+ source = carla-bridges-wine-2.0rc4.tar.xz::https://github.com/falkTX/Carla/releases/download/v1.9.14/Carla_2.0-RC4-linux64.tar.xz
+ md5sums = 242de9ef989dbdebfebb7f28c144449b
+
+pkgname = carla-bridges-wine
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6d27d85053f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Joermungand <joermungand at gmail dot com>
+# Co-Maintainer: Alexander Mcmillan <linuxguy93@gmail.com>
+pkgname=carla-bridges-wine
+pkgver=2.0rc4
+majorver=1.9.14
+minorver=${pkgver//rc4/-RC4}
+pkgrel=1
+pkgdesc="Carla windows bridges"
+arch=('i686' 'x86_64')
+url="http://kxstudio.sf.net/carla"
+license=('GPL2')
+conflicts=('carla-bridges-win32' 'carla-bridges-win64')
+provides=('carla-bridges-win')
+depends=('wine' 'carla')
+if [[ $CARCH == 'i686' ]]; then
+ source+=("${pkgname}-${pkgver}.tar.xz::https://github.com/falkTX/Carla/releases/download/v$majorver/Carla_$minorver-linux32.tar.xz")
+ md5sums+=('8dd11480171693cfd47b209d25b6cdee')
+elif [[ $CARCH == 'x86_64' ]]; then
+ source+=("${pkgname}-${pkgver}.tar.xz::https://github.com/falkTX/Carla/releases/download/v$majorver/Carla_$minorver-linux64.tar.xz")
+ md5sums+=('242de9ef989dbdebfebb7f28c144449b')
+fi
+
+prepare() {
+ cd "$srcdir"
+ mv Carla* "$pkgname-$pkgver"
+}
+
+package() {
+ ## Goto Carla LV2 directory
+ cd "$srcdir/$pkgname-$pkgver/carla.lv2"
+
+ ## Enable wine bridge for Standalone
+ mkdir -p "$pkgdir/usr/lib/carla/"
+ cp *.exe "$pkgdir/usr/lib/carla/"
+ cp *.dll "$pkgdir/usr/lib/carla/"
+
+ ## Enable wine bridge for LV2
+ mkdir -p "$pkgdir/usr/lib/lv2/carla.lv2"
+ cp *.exe "$pkgdir/usr/lib/lv2/carla.lv2"
+ cp *.dll "$pkgdir/usr/lib/lv2/carla.lv2"
+
+ ## Goto Carla VST directory
+ cd "$srcdir/$pkgname-$pkgver/carla.vst"
+
+ ## Enable wine bridge for VST
+ mkdir -p "$pkgdir/usr/lib/lv2/carla.vst"
+ cp *.exe "$pkgdir/usr/lib/lv2/carla.vst"
+ cp *.dll "$pkgdir/usr/lib/lv2/carla.vst"
+}