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

David Runge dvzrv at archlinux.org
Wed May 15 17:40:16 UTC 2019


    Date: Wednesday, May 15, 2019 @ 17:40:16
  Author: dvzrv
Revision: 353401

upgpkg: portaudio 1:19.6.0-5

Introducing an epoch, as portaudio is 'actually' at version 19.6.0. Updating maintainer. Switching to correct license (MIT). Removing unneeded conflicts, provides, replaces for portaudio_cpp (nothing requires it anymore). Minor cleanup.

Modified:
  portaudio/trunk/PKGBUILD

----------+
 PKGBUILD |   41 +++++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-15 15:12:12 UTC (rev 353400)
+++ PKGBUILD	2019-05-15 17:40:16 UTC (rev 353401)
@@ -1,33 +1,38 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
 # Contributor: Eric Belanger <eric at archlinux.org>
 # Contributor: Darwin Bautista <djclue917 at gmail.com>
 # Contributor: Bob Finch <w9ya at qrparci.net>
 
 pkgname=portaudio
-pkgver=190600_20161030
-pkgrel=4
+# versioning is very bizarre:
+# https://app.assembla.com/wiki/show/portaudio/ReleaseNotes
+_version=190600_20161030
+pkgver=19.6.0
+pkgrel=5
+epoch=1
 pkgdesc='A free, cross-platform, open source, audio I/O library.'
 arch=('x86_64')
-url='http://www.portaudio.com/'
-license=('custom')
+url="http://www.portaudio.com/"
+license=('MIT')
 depends=('gcc-libs' 'jack')
-conflicts=('portaudio_cpp')
-provides=('portaudio_cpp')
-replaces=('portaudio_cpp')
-options=('!makeflags')
-source=("http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz")
-md5sums=('4df8224e047529ca9ad42f0521bf81a8')
+source=("${pkgname}-${pkgver}.tgz::http://www.portaudio.com/archives/pa_stable_v${_version}.tgz")
+sha512sums=('7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c')
 
+prepare() {
+  mv -v "${pkgname}" "${pkgname}-${pkgver}"
+}
+
 build() {
-  cd "$srcdir/$pkgname"
-
-  ./configure --prefix=/usr --enable-cxx
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --enable-cxx
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname"
-
-  make DESTDIR="$pkgdir" install
-  install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list