diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-22 17:17:38 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-22 17:17:38 -0300 |
commit | 6d107a7eed7968b2de42bb23d686edf578362bd2 (patch) | |
tree | 5f18973c8456443a59a57c9b0c82614ed7a9c0f2 /pcr/giada/PKGBUILD | |
parent | ed7a82cec72aa998efc43c54a44541ebb79cb7a2 (diff) |
giada: add new package to [pcr] -> https://labs.parabola.nu/issues/885
Diffstat (limited to 'pcr/giada/PKGBUILD')
-rw-r--r-- | pcr/giada/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pcr/giada/PKGBUILD b/pcr/giada/PKGBUILD new file mode 100644 index 000000000..74a3d6e23 --- /dev/null +++ b/pcr/giada/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer (Arch): Christopher Arndt <aur -at- chrisarndt -dot- de> + +pkgname=giada +pkgver=0.11.2 +pkgrel=1 +pkgdesc="A looper, drum machine, sequencer, live sampler and plugin host" +arch=('i686' 'x86_64') +url="http://www.giadamusic.com/" +license=('GPL3') +depends=('fltk' 'jansson' 'libpulse' 'libxpm' 'rtmidi') +source=("${pkgname}-${pkgver}-src.tar.gz::http://www.giadamusic.com/download/grab/source" + 'http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip' + "$pkgname.desktop" + "$pkgname.png") +install="$pkgname.install" +md5sums=('e7fdb9dcd056d4a76860b3b95f558331' + '1ac422ebb4aa2e86061278412c347b55' + '06238158680470ab01fbbeb33353e58e' + 'f9b6e4233890720af50c536c4b2c92c0') + +prepare() { + cd "$srcdir/$pkgname-$pkgver-src" + + rm -rf src/deps/vst + ln -sf "$srcdir/VST3 SDK/pluginterfaces/vst2.x" src/deps/vst +} + +build() { + cd "$srcdir/$pkgname-$pkgver-src" + + ./configure --prefix=/usr --target=linux --enable-vst + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver-src" + + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir/$pkgname.png" \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -Dm644 "$srcdir/$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" +} |