From ec5b6e1df4e6b6ec34172bf770c7636e02fdf9fb Mon Sep 17 00:00:00 2001 From: Guest One Date: Sat, 8 Jun 2013 23:14:02 +0200 Subject: added new package zita-convoler 3.1.0-1 --- pcr/zita-convolver/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pcr/zita-convolver/PKGBUILD 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 + +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 +} + + -- cgit v1.2.3-54-g00ecf