summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristopher Arndt2015-10-27 13:44:56 +0100
committerChristopher Arndt2015-10-27 13:44:56 +0100
commitaadcfbb94612904ebb4927570a8eb7ddb7986d9d (patch)
tree8dd1b4544349c485d83140ae8163ca29637eb24e /PKGBUILD
downloadaur-aadcfbb94612904ebb4927570a8eb7ddb7986d9d.tar.gz
Add new package 'oxefmsynth'
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..665a8c8c4d3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
+
+pkgname=oxefmsynth
+pkgver=1.3.3
+pkgrel=1
+pkgdesc="An 8-OP FM synthesizer VST plug-in"
+arch=('i686' 'x86_64')
+url="http://www.oxesoft.com/"
+license=('GPL3')
+depends=('libx11')
+source=("https://github.com/oxesoft/oxefmsynth/archive/v${pkgver}.zip"
+ 'http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip')
+md5sums=('e61c6fa2a80b2bf65d1dae9c6ad3e670'
+ '1ac422ebb4aa2e86061278412c347b55')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ export VSTSDK_PATH="$srcdir/VST3\\ SDK"
+ # See: http://stackoverflow.com/questions/10789012/g-cdecl-calling-convention-with-steinberg-vst-sdk
+ export CFLAGS='-D__cdecl=""'
+ make -f Makefile.vstlinux
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ if [[ $CARCH == 'i686' ]]; then
+ _arch=32
+ elif [[ $CARCH == 'x86_64' ]]; then
+ _arch=64
+ fi
+
+ install -D oxevst${_arch}.so "$pkgdir/usr/lib/vst/oxevst${_arch}.so"
+}