diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/zita-convolver/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/zita-convolver/PKGBUILD b/pcr/zita-convolver/PKGBUILD new file mode 100644 index 000000000..5017f144f --- /dev/null +++ b/pcr/zita-convolver/PKGBUILD @@ -0,0 +1,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 +} + + |