blob: 3f0fb5aade302fe37e6ba665ecfc32ec7821d73c (
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
|
# $Id: PKGBUILD 137623 2011-09-10 08:28:05Z pierre $
# Maintainer: damir <damir@archlinux.org>
pkgname=ladspa
pkgver=1.13
pkgrel=3
pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.ladspa.org/"
depends=('gcc-libs')
source=("http://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz"
'hardcode-path.patch')
md5sums=('671be3e1021d0722cadc7fb27054628e'
'27743258232d828575d66940e6de2858')
build() {
cd "${srcdir}/${pkgname}_sdk/src"
patch -Np1 -i "${srcdir}/hardcode-path.patch"
sed \
-e 's/mkdirhier/mkdir -p/' \
-e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
-i makefile
make targets
}
package() {
cd "${srcdir}/${pkgname}_sdk/src"
make INSTALL_PLUGINS_DIR="${pkgdir}/usr/lib/ladspa/" \
INSTALL_INCLUDE_DIR="${pkgdir}/usr/include/" \
INSTALL_BINARY_DIR="${pkgdir}/usr/bin/" install
}
|