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

2020-05-06 Thread Allan McRae via arch-commits
Date: Thursday, May 7, 2020 @ 06:55:51
  Author: allan
Revision: 382629

upgpkg: libsoxr 0.1.3-2: .BUILDINFO rebuild

Modified:
  libsoxr/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-07 06:51:44 UTC (rev 382628)
+++ PKGBUILD2020-05-07 06:55:51 UTC (rev 382629)
@@ -5,7 +5,7 @@
 
 pkgname=libsoxr
 pkgver=0.1.3
-pkgrel=1
+pkgrel=2
 pkgdesc='The SoX Resampler library that aims to give fast and high quality 
results for any constant resampling ratio'
 arch=('x86_64')
 url='https://sourceforge.net/p/soxr/wiki/Home/'


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

2019-09-15 Thread Antonio Rojas via arch-commits
Date: Sunday, September 15, 2019 @ 13:34:09
  Author: arojas
Revision: 362872

https

Modified:
  libsoxr/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-15 13:33:33 UTC (rev 362871)
+++ PKGBUILD2019-09-15 13:34:09 UTC (rev 362872)
@@ -12,7 +12,7 @@
 license=('GPL')
 depends=('gcc-libs')
 makedepends=('cmake')
-source=("http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz";)
+source=("https://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz";)
 sha1sums=('32ea46b1a8c0c15f835422892d02fce8286aec3c')
 
 prepare() {


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

2018-03-06 Thread Maxime Gauduin via arch-commits
Date: Tuesday, March 6, 2018 @ 21:53:06
  Author: alucryd
Revision: 317955

upgpkg: libsoxr 0.1.3-1

Modified:
  libsoxr/trunk/PKGBUILD

--+
 PKGBUILD |   69 +
 1 file changed, 38 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-06 21:44:40 UTC (rev 317954)
+++ PKGBUILD2018-03-06 21:53:06 UTC (rev 317955)
@@ -1,48 +1,55 @@
 # $Id$
-# Maintainer: Anatol Pomozov
-# Contributor: JSpaces 
-# Contributor: Triode 
+# Maintainer: Maxime Gauduin 
+# Contributor: Anatol Pomozov
+# Contributor: JSpaces 
+# Contributor: Triode 
 
 pkgname=libsoxr
-pkgver=0.1.2
+pkgver=0.1.3
 pkgrel=1
 pkgdesc='The SoX Resampler library that aims to give fast and high quality 
results for any constant resampling ratio'
-arch=(x86_64)
+arch=('x86_64')
 url='http://sourceforge.net/p/soxr/wiki/Home/'
-license=(GPL)
-depends=(gcc-libs)
-makedepends=(cmake)
-options=(!emptydirs)
-source=(http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz)
-sha1sums=('3b990f91dc8dc08e70626cd5fb90deda0239c211')
+license=('GPL')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=("http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz";)
+sha1sums=('32ea46b1a8c0c15f835422892d02fce8286aec3c')
 
+prepare() {
+  if [[ -d build ]]; then
+rm -rf build
+  fi
+  mkdir build
+}
+
 build() {
-  cd soxr-$pkgver-Source
-  cmake \
--DCMAKE_INSTALL_PREFIX=/usr \
--DBUILD_EXAMPLES=OFF \
--DBUILD_SHARED_LIBS=ON \
--DCMAKE_BUILD_TYPE=Release \
--DVISIBILITY_HIDDENL=ON \
--DWITH_AVFFT=ON \
--DWITH_DOUBLE_PRECISION=ON \
--DWITH_LSR_BINDINGS=ON \
--DWITH_OPENMP=ON \
--DWITH_PFFFT=ON \
--DWITH_SIMD=ON \
-.
+  cd build
+
+  cmake ../soxr-${pkgver}-Source \
+-DCMAKE_BUILD_TYPE='Release' \
+-DCMAKE_INSTALL_PREFIX='/usr' \
+-DBUILD_EXAMPLES='OFF' \
+-DBUILD_SHARED_LIBS='ON' \
+-DWITH_AVFFT='ON' \
+-DWITH_LSR_BINDINGS='ON' \
+-DWITH_OPENMP='ON' \
+-DWITH_PFFFT='ON'
   make
 }
 
 check() {
-  cd soxr-$pkgver-Source
+  cd build
+
   make test
 }
 
 package() {
-  cd soxr-$pkgver-Source
-  
-  make DESTDIR="$pkgdir" install
-  install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  rm -r "$pkgdir"/usr/share/doc/$pkgname/
+  cd build
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/share/doc
+  install -Dm644 ../soxr-${pkgver}-Source/LICENCE -t 
"${pkgdir}"/usr/share/licenses/libsoxr/
 }
+
+# vim: ts=2 sw=2 et: