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

David Runge dvzrv at archlinux.org
Fri Aug 24 11:41:57 UTC 2018


    Date: Friday, August 24, 2018 @ 11:41:56
  Author: dvzrv
Revision: 373696

upgpkg: lib32-jack 0.125.0-2

Adding maintainer. Switching to git sources. General cleanup.

Modified:
  lib32-jack/trunk/PKGBUILD

----------+
 PKGBUILD |   42 +++++++++++++++++++++++++++---------------
 1 file changed, 27 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-24 11:39:00 UTC (rev 373695)
+++ PKGBUILD	2018-08-24 11:41:56 UTC (rev 373696)
@@ -1,36 +1,48 @@
 # $Id$
-# Maintainer: tobias <tobias at archlinux.net>
-# Maintainer: Ray Rashif <schivmeister at gmail.com>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: tobias <tobias at archlinux.net>
+# Contributor: Ray Rashif <schivmeister at gmail.com>
 # Contributor: Robert Emil Berge <robert at rebi.no>
 
-_pkgbasename=jack
-pkgname=lib32-$_pkgbasename
-_longname=jack-audio-connection-kit
+pkgname=lib32-jack
 pkgver=0.125.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A low-latency audio server (32-bit)"
 arch=('x86_64')
 license=('GPL' 'LGPL')
-depends=("$_pkgbasename" 'lib32-db' 'lib32-libsamplerate' 'lib32-readline')
-makedepends=('gcc-multilib')
+depends=('jack' 'lib32-db' 'lib32-libsamplerate' 'lib32-readline')
+makedepends=('gcc-multilib' 'git')
 url="http://jackaudio.org/"
-source=("http://jackaudio.org/downloads/${_longname}-${pkgver}.tar.gz")
-md5sums=('d9b7e230aeae2d5b45c7a822b2d2dd15')
+source=("${pkgname}-${pkgver}::git+https://github.com/jackaudio/${pkgname#lib32-}1.git#tag=${pkgver}"
+        "git+https://github.com/jackaudio/example-clients"
+        "git+https://github.com/jackaudio/headers"
+        "git+https://github.com/jackaudio/tools")
+md5sums=('SKIP'
+         'SKIP'
+         'SKIP'
+         'SKIP')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  git submodule init
+  git config submodule.example-clients.url "${srcdir}/example-clients"
+  git config submodule.jack.url "${srcdir}/headers"
+  git config submodule.tools.url "${srcdir}/tools"
+  git submodule update
+  autoreconf -vfi
+}
+
 build() {
-  cd "${srcdir}/${_longname}-${pkgver}"
-
+  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 -C libjack
 }
 
 package() {
-  cd ${srcdir}/${_longname}-${pkgver}
-
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install-pkgconfigDATA
   make -C libjack DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list