summaryrefslogtreecommitdiff
path: root/community/pd/PKGBUILD
blob: 9967b42cb1cb4086731023ded3d575d568291e1b (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
# $Id: PKGBUILD 92233 2013-06-03 06:13:55Z bpiotrowski $
# Maintainer : speps <speps at aur dot archlinux dot org>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>

pkgname=pd
pkgver=0.44.3
_ver=${pkgver%.*}-${pkgver##*.}
pkgrel=2
pkgdesc="The Pure Data real-time music and multimedia environment"
arch=('i686' 'x86_64' 'mips64el')
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=('a3e8ca0eab039dc472a6533ef9344582')

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

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

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