[arch-commits] Commit in lib32-libsamplerate/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Apr 6 19:40:20 UTC 2020


    Date: Monday, April 6, 2020 @ 19:40:17
  Author: dvzrv
Revision: 612090

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libsamplerate/repos/multilib-x86_64/PKGBUILD
    (from rev 612089, lib32-libsamplerate/trunk/PKGBUILD)
Deleted:
  lib32-libsamplerate/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 45 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 19:40:03 UTC (rev 612089)
+++ PKGBUILD	2020-04-06 19:40:17 UTC (rev 612090)
@@ -1,36 +0,0 @@
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
-
-_pkgbasename=libsamplerate
-pkgname=lib32-$_pkgbasename
-pkgver=0.1.9
-pkgrel=2
-pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio (32-bit)"
-arch=('x86_64')
-url="http://www.mega-nerd.com/SRC/index.html"
-license=('BSD')
-depends=('lib32-libsndfile' $_pkgbasename)
-makedepends=('gcc-multilib')
-source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
-sha1sums=('ed60f957a4ff87aa15cbb1f3dbd886fa7e5e9566')
-validpgpkeys=('73571E85C19F4281D8C97AA86CA41A7743B8D6C8')
-
-build() {
-  cd ${_pkgbasename}-${pkgver}
-
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-  ./configure --prefix=/usr --libdir=/usr/lib32
-  make
-}
-
-package() {
-  cd ${_pkgbasename}-${pkgver}
-  make DESTDIR=${pkgdir} install
-
-  rm -rf "${pkgdir}"/usr/{include,share,bin}
-
-  mkdir -p "$pkgdir/usr/share/licenses"
-  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: lib32-libsamplerate/repos/multilib-x86_64/PKGBUILD (from rev 612089, lib32-libsamplerate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-06 19:40:17 UTC (rev 612090)
@@ -0,0 +1,45 @@
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+_name=libsamplerate
+pkgname=lib32-libsamplerate
+pkgver=0.1.9
+pkgrel=3
+pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio (32-bit)"
+arch=('x86_64')
+url="http://www.mega-nerd.com/SRC/index.html"
+license=('BSD')
+depends=('lib32-glibc' 'libsamplerate')
+makedepends=('gcc-multilib' 'lib32-libsndfile')
+# checkdepends=('fftw')
+provides=('libsamplerate.so')
+source=("http://www.mega-nerd.com/SRC/${_name}-${pkgver}.tar.gz")
+sha512sums=('78596657963cbf06785e3e6e1190b093df71da52ca340e75bd8246a962cd79dd1c90fa5527c607cebcb296e2c1ee605015278b274e3b768f2f3fbeb0eadfb728')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  ./configure --prefix=/usr --libdir=/usr/lib32
+  make
+}
+
+# # requires lib32-fftw
+# check() {
+#   cd "${pkgname}-${pkgver}"
+#   make -k check
+# }
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  rm -rfv "${pkgdir}"/usr/{include,share,bin}
+  install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list