diff options
author | David Otto | 2018-03-22 16:39:34 +0100 |
---|---|---|
committer | David Otto | 2018-03-22 17:29:15 +0100 |
commit | 7bd511d3bd62adb1d6a91e812d1d356cefba0b45 (patch) | |
tree | 7c2086c4984cbf4ec36affde620d6601ca8bca55 | |
parent | fc5b28df616558f62606599307dbe40553eaa2a8 (diff) | |
download | aur-7bd511d3bd62.tar.gz |
build from source
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 25 insertions, 11 deletions
@@ -1,12 +1,14 @@ pkgbase = linvst pkgdesc = enables Windows vst's to be used as Linux vst's in Linux vst capable DAW's - pkgver = 1.9.1 + pkgver = 1.9.r40.221b3cf pkgrel = 1 url = https://github.com/osxmidi/LinVst arch = x86_64 depends = wine - source = https://github.com/osxmidi/LinVst/releases/download/1.9/LinVst-1.9.1-Debian-Stretch.zip - sha256sums = b81ea4ace70b0e70e6641a795dab523aa8f1a3d7ddcfd15980132576f87050d8 + source = git+https://github.com/osxmidi/LinVst.git + source = https://download.steinberg.net/sdk_downloads/vstsdk369_01_03_2018_build_132.zip + sha256sums = SKIP + sha256sums = 7c6c2a5f0bcbf8a7a0d6a42b782f0d3c00ec8eafa4226bbf2f5554e8cd764964 pkgname = linvst @@ -1,17 +1,29 @@ pkgname=linvst -pkgver=1.9.1 +pkgver=1.9.r40.221b3cf pkgrel=1 pkgdesc="enables Windows vst's to be used as Linux vst's in Linux vst capable DAW's" arch=('x86_64') url="https://github.com/osxmidi/LinVst" depends=('wine') -source=("https://github.com/osxmidi/LinVst/releases/download/1.9/LinVst-${pkgver}-Debian-Stretch.zip") -sha256sums=('b81ea4ace70b0e70e6641a795dab523aa8f1a3d7ddcfd15980132576f87050d8') +source=('git+https://github.com/osxmidi/LinVst.git' 'https://download.steinberg.net/sdk_downloads/vstsdk369_01_03_2018_build_132.zip') +sha256sums=('SKIP' + '7c6c2a5f0bcbf8a7a0d6a42b782f0d3c00ec8eafa4226bbf2f5554e8cd764964') + +pkgver() { + cd "LinVst" + printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + +prepare() { + ln -sf "${srcdir}/VST_SDK/VST2_SDK/pluginterfaces" "LinVst/" +} + +build() { + cd "${srcdir}/LinVst" + make -f Makefile-embed-6432 DESTDIR="${pkgdir}" all +} package() { - for file in "${srcdir}/LinVst-${pkgver}-Debian-Stretch/embedded-version/"*.{exe,so}; do - filename=`basename "${file}"` - install -D -m755 "${file}" "${pkgdir}/usr/bin/${filename}" - done + cd "${srcdir}/LinVst" + make -f Makefile-embed-6432 DESTDIR="${pkgdir}" VST_DIR="${pkgdir}/usr/lib/vst/" install } - |