summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-06-08 23:14:02 +0200
committerGuest One <theguestone@gmail.com>2013-06-08 23:14:02 +0200
commitec5b6e1df4e6b6ec34172bf770c7636e02fdf9fb (patch)
treec94bc64ee2bd182a1705d631429a6242690f4975
parentc6b2dcf85fc395a3a367baa0563fc1218a75637f (diff)
added new package zita-convoler 3.1.0-1
-rw-r--r--pcr/zita-convolver/PKGBUILD36
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
+}
+
+