[arch-commits] Commit in zita-convolver/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Dec 7 22:05:38 UTC 2017


    Date: Thursday, December 7, 2017 @ 22:05:37
  Author: dvzrv
Revision: 273201

upgpkg: zita-convolver 3.1.0-4

Updating maintainer. Removing unneeded dependency (gcc-libs).
Removing unneeded patch for FS#36248. Installing various docs. Minor fixes.

Modified:
  zita-convolver/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-07 22:05:34 UTC (rev 273200)
+++ PKGBUILD	2017-12-07 22:05:37 UTC (rev 273201)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer : speps <speps at aur dot archlinux dot org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
 # Contributor: Philipp Überbacher <murks at lavabit dot com>
 # Contributor: Stefan Husmann <stefan-husmann at t-online.de>
 # Contributor: orbisvicis
@@ -6,35 +7,37 @@
 
 pkgname=zita-convolver
 pkgver=3.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A fast, partitioned convolution engine library."
 arch=('x86_64')
 url="http://kokkinizita.linuxaudio.org/linuxaudio/"
 license=('GPL3')
-depends=('gcc-libs' 'fftw')
-source=("${url}downloads/zita-convolver-$pkgver.tar.bz2")
-md5sums=('7e264d0fb0d8ea277cdb4e33d764c68a')
+depends=('fftw')
+source=("${url}downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('0003d4fffcc07b3e67d54996a63db35d537d97b26003e06afbeed19fba551d552d4d5a808a86b5c600f5254816c6b26db49f48e13bfa3c77d93d61956c479eb9')
 
 prepare() {
-  cd "$srcdir/$pkgname-$pkgver/libs"
+  cd "${pkgname}-${pkgver}/libs"
 
-  # FS#36248 - strip -march=native
-  sed -i '/native/d' Makefile
-
   # prevent ldconfig call
   sed -i '/ldconfig/d' Makefile
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver/libs"
+  cd "${pkgname}-${pkgver}/libs"
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver/libs"
+  cd "${pkgname}-${pkgver}/libs"
   make SUFFIX="" PREFIX=/usr DESTDIR="$pkgdir/" install
 
   # missing softlink
-  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.${pkgver%%.*}"
+
+  # docs
+  cd ..
+  install -Dm644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
+  install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
 }



More information about the arch-commits mailing list