mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
760 B
Bash
29 lines
760 B
Bash
# $Id: PKGBUILD 35910 2009-04-18 06:47:04Z eric $
|
|
#Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
|
|
#Contributor: Robert Emil Berge
|
|
|
|
pkgname=swh-plugins
|
|
pkgver=0.4.15
|
|
pkgrel=2
|
|
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
|
|
}
|