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

David Runge dvzrv at archlinux.org
Mon Apr 6 21:38:22 UTC 2020


    Date: Monday, April 6, 2020 @ 21:38:21
  Author: dvzrv
Revision: 612154

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   93 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 49 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 21:38:12 UTC (rev 612153)
+++ PKGBUILD	2020-04-06 21:38:21 UTC (rev 612154)
@@ -1,44 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: josephgbr <rafael.f.f1 at gmail.com>
-# Contributor: Xavius <xavierelf at gmail.com>
-
-pkgname=lib32-portaudio
-pkgver=190600_20161030
-pkgrel=2
-pkgdesc='A free, cross-platform, open source, audio I/O library. (32 bit)'
-arch=('x86_64')
-url="http://www.portaudio.com/"
-license=('custom')
-depends=('lib32-alsa-lib' 'lib32-jack' "${pkgname#*-}")
-makedepends=('gcc-multilib')
-source=("http://www.portaudio.com/archives/pa_stable_v${pkgver}.tgz")
-sha256sums=('f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513')
-
-build() {
-  cd "${srcdir}"/${pkgname#*-}
-
-# Multilib
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-# Build
-  ./configure --prefix=/usr --libdir=/usr/lib32
-  make
-}
-
-package () {
-  cd "${srcdir}"/${pkgname#*-}
-
-# Install
-  make DESTDIR="${pkgdir}" install
-
-# Multilib
-  rm -rf "${pkgdir}"/usr/include
-
-# License
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s ${pkgname#*-} "${pkgdir}"/usr/share/licenses/${pkgname}
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-portaudio/repos/multilib-x86_64/PKGBUILD (from rev 612153, lib32-portaudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-06 21:38:21 UTC (rev 612154)
@@ -0,0 +1,49 @@
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+# Contributor: Xavius <xavierelf at gmail.com>
+
+_name=portaudio
+pkgname=lib32-portaudio
+# versioning is very bizarre:
+# https://app.assembla.com/wiki/show/portaudio/ReleaseNotes
+_version=190600_20161030
+pkgver=19.6.0
+pkgrel=4
+epoch=1
+pkgdesc='A free, cross-platform, open source, audio I/O library. (32 bit)'
+arch=('x86_64')
+url="http://www.portaudio.com/"
+license=('MIT')
+depends=('lib32-glibc' 'portaudio')
+makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-jack')
+provides=('libportaudio.so')
+source=("${pkgname}-${pkgver}.tgz::http://www.portaudio.com/archives/pa_stable_v${_version}.tgz")
+sha256sums=('f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513')
+
+prepare() {
+  mv -v "${_name}" "${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
+}
+
+package () {
+  depends+=('libasound.so' 'libjack.so')
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/include
+  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list