blob: f6a735db32ed0244d03762f88f41759b9f4142ab (
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
|
# Maintainer: Albert Graef <aggraef at gmail dot com>
pkgname=purrdata-faust
_pkgname=pd-faust
pkgver=0.18
pkgrel=1
pkgdesc="Run Faust signal processors in Pd, Purr-Data version"
arch=('i686' 'x86_64')
url="http://purelang.bitbucket.org/"
depends=('purr-data' 'pure' 'purrdata-pure' 'pure-faust' 'pure-audio' 'pure-midi' 'pure-stldict')
makedepends=('faust')
license=('LGPL3')
source=(https://github.com/agraef/pure-lang/releases/download/$_pkgname-$pkgver/$_pkgname-$pkgver.tar.gz)
md5sums=('7deb4a501713912458d86b1a665c6e83')
build() {
cd $srcdir/$_pkgname-$pkgver
make PD=purr-data PUREC_FLAGS=-mcpu=generic
}
package() {
cd $srcdir/$_pkgname-$pkgver
# Normally 'make PD=purr-data install' will do what we want, but since the
# target directory /usr/lib/purr-data is actually a symlink and we're doing
# a staged install, we have to use a bit of trickery here. Note that
# /usr/lib/purr-data points to /opt/purr-data/lib/pd-l2ork, so the following
# installs directly into that directory.
make PD=pd-l2ork prefix=/opt/purr-data DESTDIR=$pkgdir install
}
|