summaryrefslogtreecommitdiff
path: root/community/linuxsampler/PKGBUILD
blob: d1fe73fe1d807ba9f071cf49a172d14080e894f9 (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
# $Id: PKGBUILD 67532 2012-03-13 11:02:12Z lcarlier $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: svoufff <svoufff at gmail dot com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>

pkgname=linuxsampler
pkgver=1.0.0
pkgrel=2
pkgdesc="Professional-grade audio sampler alternative to Gigasampler"
arch=(i686 x86_64 'mips64el')
url="http://www.linuxsampler.org/"
license=('GPL' 'custom')
depends=('libgig' 'jack' 'sqlite3')
makedepends=('dssi' 'lv2core')
options=('libtool') # do NOT slay libtool; required by gigedit
source=(http://download.linuxsampler.org/packages/$pkgname-$pkgver.tar.bz2
        license.txt)
md5sums=('a97136791a3228d840b006e5481fc39d'
         '746c1421eb9f6812b5fa411bfb923c75')

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

  ./configure	--prefix=/usr
  make
}

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

  make DESTDIR="$pkgdir/" install

  # install GPL exception statement
  install -Dm644 ../license.txt \
    "$pkgdir/usr/share/licenses/$pkgname/GPL-EXCEPTION"
}

# vim:set ts=2 sw=2 et: