summaryrefslogtreecommitdiff
path: root/pcr/zita-convolver/PKGBUILD
blob: 5017f144f0bb4771f33e2c2ffd15fcc3dd5968b9 (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
33
34
35
36
# Maintainer : Guest One <theguestone at gmail dot com>

pkgname=zita-convolver
pkgver=3.1.0
pkgrel=1
pkgdesc="Convolution library for aeolus and jconvolver"
arch=('i686' 'x86_64')
url="http://kokkinizita.linuxaudio.org/linuxaudio"
license=('GPL')
depends=('fftw' 'gcc-libs')
source=("http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-$pkgver.tar.bz2")
md5sums=('7e264d0fb0d8ea277cdb4e33d764c68a')

build() {
  cd "$srcdir/zita-convolver-$pkgver/libs"

  sed -i 's/usr\/local/usr/' Makefile
  sed -i 's/ldconfig//' Makefile

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver/libs"

  make SUFFIX="" PREFIX="$pkgdir/usr" DESTDIR=${PKGDIR} install 


  # Another failed attempt at trying to be clever. A simple call to ldconfig might have worked.
  #  ln -s lib$pkgname.so.$pkgver \
  #    "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}"
  
  #  ln -s lib${pkgname}.so.$pkgver ${pkgdir}/usr/lib/lib${pkgname}.so
}