updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / pd / PKGBUILD
blob03be693b66221c5d2da8a12a36b2fd5ee16634cb
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
3 # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
5 pkgname=pd
6 pkgver=0.43_0
7 pkgrel=2
8 pkgdesc="The Pure Data real-time music and multimedia environment"
9 arch=('i686' 'x86_64')
10 url="http://crca.ucsd.edu/~msp/software.html"
11 license=('BSD')
12 depends=('jack' 'tk')
13 source=(http://crca.ucsd.edu/~msp/Software/pd-${pkgver/_/-}.src.tar.gz)
14 md5sums=('b7e7bab14220146748c2ed596e1c18f2')
16 build() {
17   cd "$srcdir/pd-${pkgver/_/-}/src"
18   ./configure --prefix=/usr --mandir=/usr/share/man --enable-alsa --enable-jack
19   make
22 package() {
23   cd "$srcdir/pd-${pkgver/_/-}/src"
24   make DESTDIR="$pkgdir" install
25   install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/pd/LICENSE"
27   # @bug http://comments.gmane.org/gmane.comp.multimedia.puredata.devel/9482
28   install -dm755 "$pkgdir/usr/lib/pd/tcl"
29   install -m644 ../tcl/* "$pkgdir/usr/lib/pd/tcl"