diff options
author | Lukas Sabota | 2018-01-08 15:26:30 -0500 |
---|---|---|
committer | Lukas Sabota | 2018-01-08 15:26:30 -0500 |
commit | 2719c9029dc0616471d0fa767a3a1050213d07d1 (patch) | |
tree | aaee88f978b7d5ed7b1ece28387c0ff9137a9923 /PKGBUILD | |
download | aur-2719c9029dc0616471d0fa767a3a1050213d07d1.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aac833b8ca1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Lukas Sabota <lukas _at_ lwsabota _dot_ com> +# Contributer: Lukas Sabota <lukas _at_ lwsabota _dot_ com> +pkgname=sid-vst-git +_gitbase=SID +pkgver=r24.57d3bbf +pkgrel=1 +pkgdesc="Emulates MOS Technology SID audio chip (used in Commodore 64) as a VST" +arch=('i686' 'x86_64') +url="http://socalabs.com/" +license=('LGPL') +groups=('socalabs-vst-suite') +depends=('mesa') +makedepends=('git') +source=('SID::git+https://github.com/FigBug/SID.git' + 'dRowAudio::git+https://github.com/FigBug/drowaudio.git#commit=3a1e6eb75681b166c055c501a2ed4a8df8a44df0' + 'slCommon::git+https://github.com/FigBug/slCommon.git#commit=b49d31c4f2f131506fe5ac53f2ac6e47b3ee109b' + 'JUCE::git+https://github.com/WeAreROLI/JUCE.git#branch=develop') +# Note: This package requires features in the develop branch of JUCE +# This package can likely be moved to depend on the juce AUR package +# after an upstream JUCE release. +# FYI: This can be accomplished by symlinking /opt/JUCE to $srcdir/JUCE +# in the future. +md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') + +pkgver() { + cd "$srcdir/$_gitbase" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/$_gitbase" + # Workaround for SSH-only configured submodule remotes + cd modules + rm -rf dRowAudio slCommon + ln -s ../../dRowAudio ./ + ln -s ../../slCommon ./ +} + +build() { + cd "$srcdir/$_gitbase/plugin/Builds/LinuxMakefile" + make +} + +package() { + install -D -m644 "$srcdir/$_gitbase/plugin/Builds/LinuxMakefile/build/$_gitbase.so" "$pkgdir/usr/lib/vst/$_gitbase.so" +} |