[arch-commits] Commit in zita-resampler/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-05-16 Thread David Runge via arch-commits
Date: Saturday, May 16, 2020 @ 09:01:39
  Author: dvzrv
Revision: 383756

archrelease: copy trunk to extra-x86_64

Added:
  zita-resampler/repos/extra-x86_64/PKGBUILD
(from rev 383755, zita-resampler/trunk/PKGBUILD)
Deleted:
  zita-resampler/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  110 +
 1 file changed, 53 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-16 09:01:34 UTC (rev 383755)
+++ PKGBUILD2020-05-16 09:01:39 UTC (rev 383756)
@@ -1,57 +0,0 @@
-# Maintainer: David Runge 
-# Contributor: speps 
-# Contributor: Philipp Überbacher 
-
-pkgname=zita-resampler
-pkgver=1.6.2
-pkgrel=2
-pkgdesc="A C++ library for resampling audio signals"
-url="https://kokkinizita.linuxaudio.org/linuxaudio/";
-arch=('x86_64')
-license=('GPL3')
-depends=('gcc-libs' 'glibc')
-makedepends=('libsndfile')
-optdepends=('libsndfile: for zresample and zretune')
-provides=('libzita-resampler.so')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
-sha512sums=('d547419dd222c8a399d8f196efa1ec88a3f781275b696ae2fe1bb6e2fc329285affb8aace85972c304ad256becc4a155534dd5ef4ce3c57cbc9dcca0122b670c')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # FS#36248 - strip march=native
-  sed -e '/native/d' \
-  -i {source,apps}/Makefile
-  # removing local call to ldconfig
-  sed -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
-  -i source/Makefile
-  # fix use of BINDIR without preceeding DESTDIR
-  # fix use of MANDIR without preceeding DESTDIR
-  sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
-  -e 's/\ $(MANDIR)/\ $(DESTDIR)$(MANDIR)/' \
-  -i apps/Makefile
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  # libs
-  make -C source
-  (
-cd source
-# create lib link for building apps
-ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
-  )
-  # apps
-  make LDFLAGS+=" -L../source" CXXFLAGS+=" -I../source" -C apps
-  # cleanup link
-  rm -rv "source/lib${pkgname}.so"
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
-  make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
-  # docs
-  install -vDm 644 {AUTHORS,README} docs/* \
--t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-

Copied: zita-resampler/repos/extra-x86_64/PKGBUILD (from rev 383755, 
zita-resampler/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-16 09:01:39 UTC (rev 383756)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge 
+# Contributor: speps 
+# Contributor: Philipp Überbacher 
+
+pkgname=zita-resampler
+pkgver=1.6.2
+pkgrel=3
+pkgdesc="A C++ library for resampling audio signals"
+url="https://kokkinizita.linuxaudio.org/linuxaudio/";
+arch=('x86_64')
+license=('GPL3')
+depends=('gcc-libs' 'glibc')
+makedepends=('libsndfile')
+optdepends=('libsndfile: for zresample and zretune')
+provides=('libzita-resampler.so')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
+sha512sums=('d547419dd222c8a399d8f196efa1ec88a3f781275b696ae2fe1bb6e2fc329285affb8aace85972c304ad256becc4a155534dd5ef4ce3c57cbc9dcca0122b670c')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # FS#36248 - strip march=native
+  sed -e '/native/d' \
+  -i {source,apps}/Makefile
+  # removing local call to ldconfig
+  sed -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+  -i source/Makefile
+  # fix use of BINDIR without preceeding DESTDIR
+  # fix use of MANDIR without preceeding DESTDIR
+  sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
+  -e 's/\ $(MANDIR)/\ $(DESTDIR)$(MANDIR)/' \
+  -i apps/Makefile
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # libs
+  make -C source
+  # create lib link for building apps
+  ln -sv "lib${pkgname}.so.${pkgver}" "source/lib${pkgname}.so"
+  # apps
+  make LDFLAGS+=" -L../source" CXXFLAGS+=" -I../source" -C apps
+  # cleanup link
+  rm -rv "source/lib${pkgname}.so"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
+  make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
+  # docs
+  install -vDm 644 {AUTHORS,README} docs/* \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}


[arch-commits] Commit in zita-resampler/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2019-10-03 Thread David Runge via arch-commits
Date: Thursday, October 3, 2019 @ 14:27:32
  Author: dvzrv
Revision: 363696

archrelease: copy trunk to extra-x86_64

Added:
  zita-resampler/repos/extra-x86_64/PKGBUILD
(from rev 363695, zita-resampler/trunk/PKGBUILD)
Deleted:
  zita-resampler/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  111 +++--
 1 file changed, 57 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-10-03 14:27:27 UTC (rev 363695)
+++ PKGBUILD2019-10-03 14:27:32 UTC (rev 363696)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: David Runge 
-# Contributor: speps 
-# Contributor: Philipp Überbacher 
-
-pkgname=zita-resampler
-pkgver=1.6.2
-pkgrel=1
-pkgdesc="A C++ library for resampling audio signals"
-url="https://kokkinizita.linuxaudio.org/linuxaudio/";
-arch=('x86_64')
-license=('GPL3')
-depends=('gcc-libs' 'libsndfile')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
-sha512sums=('d547419dd222c8a399d8f196efa1ec88a3f781275b696ae2fe1bb6e2fc329285affb8aace85972c304ad256becc4a155534dd5ef4ce3c57cbc9dcca0122b670c')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # FS#36248 - strip march=native
-  sed -e '/native/d' \
-  -i {source,apps}/Makefile
-  # removing local call to ldconfig
-  sed -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
-  -i source/Makefile
-  # fix use of BINDIR without preceeding DESTDIR
-  # fix use of MANDIR without preceeding DESTDIR
-  sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
-  -e 's/\ $(MANDIR)/\ $(DESTDIR)$(MANDIR)/' \
-  -i apps/Makefile
-}
-
-build() {
-  cd "${pkgname}-${pkgver}/source"
-  # libs
-  make
-  # create lib link for building apps
-  ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
-  # apps
-  cd ../apps
-  make LDFLAGS+=" -L../source" CXXFLAGS+=" -I../source"
-  # cleanup link
-  rm -rv ../source/"lib${pkgname}.so"
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
-  make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
--vDm 644 {AUTHORS,README} \
--vDm 644 docs/*
-}
-

Copied: zita-resampler/repos/extra-x86_64/PKGBUILD (from rev 363695, 
zita-resampler/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-10-03 14:27:32 UTC (rev 363696)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge 
+# Contributor: speps 
+# Contributor: Philipp Überbacher 
+
+pkgname=zita-resampler
+pkgver=1.6.2
+pkgrel=2
+pkgdesc="A C++ library for resampling audio signals"
+url="https://kokkinizita.linuxaudio.org/linuxaudio/";
+arch=('x86_64')
+license=('GPL3')
+depends=('gcc-libs' 'glibc')
+makedepends=('libsndfile')
+optdepends=('libsndfile: for zresample and zretune')
+provides=('libzita-resampler.so')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
+sha512sums=('d547419dd222c8a399d8f196efa1ec88a3f781275b696ae2fe1bb6e2fc329285affb8aace85972c304ad256becc4a155534dd5ef4ce3c57cbc9dcca0122b670c')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # FS#36248 - strip march=native
+  sed -e '/native/d' \
+  -i {source,apps}/Makefile
+  # removing local call to ldconfig
+  sed -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+  -i source/Makefile
+  # fix use of BINDIR without preceeding DESTDIR
+  # fix use of MANDIR without preceeding DESTDIR
+  sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
+  -e 's/\ $(MANDIR)/\ $(DESTDIR)$(MANDIR)/' \
+  -i apps/Makefile
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # libs
+  make -C source
+  (
+cd source
+# create lib link for building apps
+ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
+  )
+  # apps
+  make LDFLAGS+=" -L../source" CXXFLAGS+=" -I../source" -C apps
+  # cleanup link
+  rm -rv "source/lib${pkgname}.so"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
+  make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
+  # docs
+  install -vDm 644 {AUTHORS,README} docs/* \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+


[arch-commits] Commit in zita-resampler/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-09-03 Thread Antonio Rojas via arch-commits
Date: Monday, September 3, 2018 @ 14:05:18
  Author: arojas
Revision: 333215

archrelease: copy trunk to extra-x86_64

Added:
  zita-resampler/repos/extra-x86_64/PKGBUILD
(from rev 333214, zita-resampler/trunk/PKGBUILD)
Deleted:
  zita-resampler/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  103 +++--
 1 file changed, 54 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-09-03 14:04:51 UTC (rev 333214)
+++ PKGBUILD2018-09-03 14:05:18 UTC (rev 333215)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: David Runge 
-# Contributor: speps 
-# Contributor: Philipp Überbacher 
-
-pkgname=zita-resampler
-pkgver=1.6.0
-pkgrel=2
-pkgdesc="A C++ library for resampling audio signals"
-url="https://kokkinizita.linuxaudio.org/linuxaudio/";
-arch=('x86_64')
-license=('GPL3')
-depends=('gcc-libs' 'libsndfile')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
-sha512sums=('fefe01dfc459a7ee0a98965b6e354cfe23b8e18838eeedabe2a6d965e9e413c8bafb9ebb11f8328852f18be20c14443785214b65887e4482aa8d5e6b34f5')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # FS#36248 - strip march=native
-  sed -e '/native/d' -i {libs,apps}/Makefile
-  # removing local call to ldconfig
-  sed -e '/ldconfig/d' -i libs/Makefile
-}
-
-build() {
-  cd "${pkgname}-${pkgver}/libs"
-  # libs
-  make PREFIX=/usr
-  # create lib link for building apps
-  ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
-  # apps
-  cd ../apps
-  make PREFIX=/usr LDFLAGS+=" -L../libs" CXXFLAGS+=" -I../libs"
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make -C libs DESTDIR="$pkgdir/" PREFIX=/usr LIBDIR=lib install
-  # apps
-  install -t "${pkgdir}/usr/bin" -vDm755 apps/zre{sample,tune}
-  # man
-  install -t "${pkgdir}/usr/share/man/man1" -vDm644 apps/zre{sample,tune}.1
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
--vDm644 {AUTHORS,README} \
--vDm644 docs/*
-  # create library symlinks
-  ldconfig -n "$pkgdir"/usr/lib
-}

Copied: zita-resampler/repos/extra-x86_64/PKGBUILD (from rev 333214, 
zita-resampler/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-09-03 14:05:18 UTC (rev 333215)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: David Runge 
+# Contributor: speps 
+# Contributor: Philipp Überbacher 
+
+pkgname=zita-resampler
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="A C++ library for resampling audio signals"
+url="https://kokkinizita.linuxaudio.org/linuxaudio/";
+arch=('x86_64')
+license=('GPL3')
+depends=('gcc-libs' 'libsndfile')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
+sha512sums=('d547419dd222c8a399d8f196efa1ec88a3f781275b696ae2fe1bb6e2fc329285affb8aace85972c304ad256becc4a155534dd5ef4ce3c57cbc9dcca0122b670c')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # FS#36248 - strip march=native
+  sed -e '/native/d' \
+  -i {source,apps}/Makefile
+  # removing local call to ldconfig
+  sed -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+  -i source/Makefile
+  # fix use of BINDIR without preceeding DESTDIR
+  # fix use of MANDIR without preceeding DESTDIR
+  sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
+  -e 's/\ $(MANDIR)/\ $(DESTDIR)$(MANDIR)/' \
+  -i apps/Makefile
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/source"
+  # libs
+  make
+  # create lib link for building apps
+  ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
+  # apps
+  cd ../apps
+  make LDFLAGS+=" -L../source" CXXFLAGS+=" -I../source"
+  # cleanup link
+  rm -rv ../source/"lib${pkgname}.so"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
+  make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+-vDm 644 {AUTHORS,README} \
+-vDm 644 docs/*
+}
+


[arch-commits] Commit in zita-resampler/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-02-21 Thread Antonio Rojas via arch-commits
Date: Thursday, February 22, 2018 @ 07:53:44
  Author: arojas
Revision: 317380

archrelease: copy trunk to extra-x86_64

Added:
  zita-resampler/repos/extra-x86_64/PKGBUILD
(from rev 317379, zita-resampler/trunk/PKGBUILD)
Deleted:
  zita-resampler/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |   96 +++--
 1 file changed, 49 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-02-22 07:53:06 UTC (rev 317379)
+++ PKGBUILD2018-02-22 07:53:44 UTC (rev 317380)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: David Runge 
-# Contributor: speps 
-# Contributor: Philipp Überbacher 
-
-pkgname=zita-resampler
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="A C++ library for resampling audio signals"
-url="https://kokkinizita.linuxaudio.org/linuxaudio/";
-arch=('x86_64')
-license=('GPL3')
-depends=('gcc-libs' 'libsndfile')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
-sha512sums=('fefe01dfc459a7ee0a98965b6e354cfe23b8e18838eeedabe2a6d965e9e413c8bafb9ebb11f8328852f18be20c14443785214b65887e4482aa8d5e6b34f5')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # FS#36248 - strip march=native
-  sed -e '/native/d' -i {libs,apps}/Makefile
-  # removing local call to ldconfig
-  sed -e '/ldconfig/d' -i libs/Makefile
-}
-
-build() {
-  cd "${pkgname}-${pkgver}/libs"
-  # libs
-  make PREFIX=/usr
-  # create lib link for building apps
-  ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
-  # apps
-  cd ../apps
-  make PREFIX=/usr LDFLAGS+=" -L../libs" CXXFLAGS+=" -I../libs"
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make -C libs DESTDIR="$pkgdir/" PREFIX=/usr LIBDIR=lib install
-  # apps
-  install -t "${pkgdir}/usr/bin" -vDm755 apps/zre{sample,tune}
-  # man
-  install -t "${pkgdir}/usr/share/man/man1" -vDm644 apps/zre{sample,tune}.1
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
--vDm644 {AUTHORS,README} \
--vDm644 docs/*
-}

Copied: zita-resampler/repos/extra-x86_64/PKGBUILD (from rev 317379, 
zita-resampler/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-02-22 07:53:44 UTC (rev 317380)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: David Runge 
+# Contributor: speps 
+# Contributor: Philipp Überbacher 
+
+pkgname=zita-resampler
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A C++ library for resampling audio signals"
+url="https://kokkinizita.linuxaudio.org/linuxaudio/";
+arch=('x86_64')
+license=('GPL3')
+depends=('gcc-libs' 'libsndfile')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
+sha512sums=('fefe01dfc459a7ee0a98965b6e354cfe23b8e18838eeedabe2a6d965e9e413c8bafb9ebb11f8328852f18be20c14443785214b65887e4482aa8d5e6b34f5')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # FS#36248 - strip march=native
+  sed -e '/native/d' -i {libs,apps}/Makefile
+  # removing local call to ldconfig
+  sed -e '/ldconfig/d' -i libs/Makefile
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/libs"
+  # libs
+  make PREFIX=/usr
+  # create lib link for building apps
+  ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
+  # apps
+  cd ../apps
+  make PREFIX=/usr LDFLAGS+=" -L../libs" CXXFLAGS+=" -I../libs"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make -C libs DESTDIR="$pkgdir/" PREFIX=/usr LIBDIR=lib install
+  # apps
+  install -t "${pkgdir}/usr/bin" -vDm755 apps/zre{sample,tune}
+  # man
+  install -t "${pkgdir}/usr/share/man/man1" -vDm644 apps/zre{sample,tune}.1
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+-vDm644 {AUTHORS,README} \
+-vDm644 docs/*
+  # create library symlinks
+  ldconfig -n "$pkgdir"/usr/lib
+}


[arch-commits] Commit in zita-resampler/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-02-21 Thread Antonio Rojas via arch-commits
Date: Wednesday, February 21, 2018 @ 23:29:57
  Author: arojas
Revision: 317374

archrelease: copy trunk to extra-x86_64

Added:
  zita-resampler/repos/extra-x86_64/PKGBUILD
(from rev 317373, zita-resampler/trunk/PKGBUILD)
Deleted:
  zita-resampler/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  118 -
 1 file changed, 47 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-02-21 23:29:27 UTC (rev 317373)
+++ PKGBUILD2018-02-21 23:29:57 UTC (rev 317374)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer : speps 
-# Contributor: Philipp Überbacher 
-
-pkgname=zita-resampler
-pkgver=1.3.0
-pkgrel=5
-pkgdesc="A C++ library for resampling audio signals"
-url="http://kokkinizita.linuxaudio.org/linuxaudio/";
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('gcc-libs' 'libsndfile')
-source=("${url}downloads/$pkgname-$pkgver.tar.bz2")
-md5sums=('74c12e2280008f63ac9f2670fe4cf79b')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # FS#36248 - strip march=native
-  sed -i '/native/d' {libs,apps}/Makefile
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver/libs"
-
-  # lib
-  make PREFIX=/usr
-
-  # create lib link for building apps
-  ln -s lib$pkgname.so.$pkgver lib$pkgname.so
-
-  # apps
-  cd ../apps
-  CXXFLAGS+=" -I../libs" \
-  LDFLAGS+=" -L../libs" \
-  make PREFIX=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/libs"
-
-  # lib
-  install -Dm755 lib$pkgname.so.$pkgver \
-"$pkgdir/usr/lib/lib$pkgname.so.$pkgver"
-
-  # links
-  ln -s lib$pkgname.so.$pkgver \
-"$pkgdir/usr/lib/lib$pkgname.so"
-  ln -s lib$pkgname.so.$pkgver \
-"$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}"
-
-  # headers
-  install -d "$pkgdir/usr/include/$pkgname"
-  install -Dm644 $pkgname/*.h \
-"$pkgdir/usr/include/$pkgname"
-
-  # apps
-  install -d "$pkgdir/usr/bin"
-  install -Dm755 ../apps/zre{sample,tune} \
-"$pkgdir/usr/bin"
-
-  # docs
-  install -d "$pkgdir/usr/share/doc/$pkgname"
-  install -Dm644 ../docs/* \
-"$pkgdir/usr/share/doc/$pkgname"
-
-  # man
-  install -d "$pkgdir/usr/share/man/man1"
-  install -Dm644 ../apps/zre{sample,tune}.1 \
-"$pkgdir/usr/share/man/man1"
-}

Copied: zita-resampler/repos/extra-x86_64/PKGBUILD (from rev 317373, 
zita-resampler/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-02-21 23:29:57 UTC (rev 317374)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: David Runge 
+# Contributor: speps 
+# Contributor: Philipp Überbacher 
+
+pkgname=zita-resampler
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="A C++ library for resampling audio signals"
+url="https://kokkinizita.linuxaudio.org/linuxaudio/";
+arch=('x86_64')
+license=('GPL3')
+depends=('gcc-libs' 'libsndfile')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2";)
+sha512sums=('fefe01dfc459a7ee0a98965b6e354cfe23b8e18838eeedabe2a6d965e9e413c8bafb9ebb11f8328852f18be20c14443785214b65887e4482aa8d5e6b34f5')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # FS#36248 - strip march=native
+  sed -e '/native/d' -i {libs,apps}/Makefile
+  # removing local call to ldconfig
+  sed -e '/ldconfig/d' -i libs/Makefile
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/libs"
+  # libs
+  make PREFIX=/usr
+  # create lib link for building apps
+  ln -sv "lib${pkgname}.so.${pkgver}" "lib${pkgname}.so"
+  # apps
+  cd ../apps
+  make PREFIX=/usr LDFLAGS+=" -L../libs" CXXFLAGS+=" -I../libs"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make -C libs DESTDIR="$pkgdir/" PREFIX=/usr LIBDIR=lib install
+  # apps
+  install -t "${pkgdir}/usr/bin" -vDm755 apps/zre{sample,tune}
+  # man
+  install -t "${pkgdir}/usr/share/man/man1" -vDm644 apps/zre{sample,tune}.1
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+-vDm644 {AUTHORS,README} \
+-vDm644 docs/*
+}