summaryrefslogtreecommitdiff
path: root/pcr/giada/PKGBUILD
blob: 5f2548eaafb93cebe8ae6382f4177e520b97a90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer (AUR): Christopher Arndt <aur -at- chrisarndt -dot- de>

# parabola changes and rationale:
#  - added .install file to update desktop database
#  - added missing depends: libxrandr

pkgname=giada
pkgver=0.14.5
pkgrel=1
pkgdesc="A looper, drum machine, sequencer, live sampler and plugin host"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.giadamusic.com/"
license=('GPL3')
depends=('fltk' 'jansson' 'libpulse' 'libxpm' 'rtmidi' 'libxrandr')
makedepends=('steinberg-vst36')
source=("${pkgname}-${pkgver}-src.tar.gz::http://www.giadamusic.com/download/grab/source"
        "$pkgname.desktop"
        "$pkgname.png")
install="$pkgname.install"
md5sums=('c83bfd7280dd0408dc1315f4df750ab2'
         '06238158680470ab01fbbeb33353e58e'
         'f9b6e4233890720af50c536c4b2c92c0')

build() {
  cd "$srcdir/$pkgname-$pkgver-src"

  export CXXFLAGS="$CXXFLAGS -Wno-error"
  ./configure --prefix=/usr --target=linux --enable-vst
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver-src"

  export CXXFLAGS="$CXXFLAGS -Wno-error"
  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"
}