summaryrefslogtreecommitdiff
path: root/community/pd/PKGBUILD
blob: 9e16275dfb2423445096aa593dad4f27d8e65df4 (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
# $Id: PKGBUILD 74762 2012-08-03 14:09:42Z speps $
# Maintainer : speps <speps at aur dot archlinux dot org>
# Contributor:  TDY <tdy@gmx.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>

pkgname=pd
pkgver=0.43.4
_ver=${pkgver%.*}-${pkgver##*.}
pkgrel=1
pkgdesc="The Pure Data real-time music and multimedia environment"
arch=('i686' 'x86_64')
url="http://crca.ucsd.edu/~msp/software.html"
license=('custom:BSD')
depends=('jack' 'fftw' 'tk')
provides=('puredata')
source=("http://crca.ucsd.edu/~msp/Software/pd-$_ver.src.tar.gz")
md5sums=('9f174836ad5715ff3f65fd9b9f9a18ce')

build() {
  cd "$srcdir/pd-$_ver/src"
  ./configure --prefix=/usr \
              --enable-alsa \
              --enable-jack \
              --enable-fftw
  make
}

package() {
  cd "$srcdir/pd-$_ver/src"
  make DESTDIR="$pkgdir" install

  # license
  install -Dm644 ../LICENSE.txt \
    "$pkgdir/usr/share/licenses/pd/LICENSE"
}