summaryrefslogtreecommitdiff
path: root/extra/swh-plugins/PKGBUILD
blob: a8db515c67b98b6551f5a6784fb4e454c56d294f (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
# $Id: PKGBUILD 77978 2010-04-19 08:02:08Z dgriffiths $
#Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
#Contributor: Robert Emil Berge

pkgname=swh-plugins
pkgver=0.4.15
pkgrel=3
pkgdesc="LADSPA Plugin-Collection from plugin.org.uk"
arch=(i686 x86_64)
url="http://plugin.org.uk/"
license=('GPL')
depends=('fftw' 'ladspa')
groups=('ladspa-plugins')
source=(http://plugin.org.uk/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('2fbdccef2462ea553901acd429fa3573')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

#Arch64 fix, -fPIC seems to be the only option
if [ "$CARCH" = "x86_64" ]; then
      export CFLAGS="$CFLAGS -fPIC"
      export CXXFLAGS="$CFLAGS"
fi

 ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}