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

David Runge dvzrv at archlinux.org
Thu Feb 18 17:46:19 UTC 2021


    Date: Thursday, February 18, 2021 @ 17:46:18
  Author: dvzrv
Revision: 864968

upgpkg: zita-jclient 0.4.2-3: Rebuild to soprovides.

Add all available soname depends in package() and the respective packages to makedepends.
Add libzita-jclient.so to provides.
Simplify make calls with -C flag.
Update maintainer info.

Modified:
  zita-jclient/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-18 17:42:40 UTC (rev 864967)
+++ PKGBUILD	2021-02-18 17:46:18 UTC (rev 864968)
@@ -1,14 +1,18 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
 pkgname=zita-jclient
 pkgver=0.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Create a Jack client with a few lines of C++"
 arch=('x86_64')
 url="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html"
 license=('GPL3')
-depends=('jack')
+depends=('gcc-libs' 'glibc')
+makedepends=('jack')
+provides=('libzita-jclient.so')
 source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2")
 sha512sums=('c785e4fe01561dde7fb6bca985de0c5735fdad1666f6c37ff2a783360b5c6fbe30837088715fe20e21c81cd9396e237fca25c91e8bd18d401032a8ca6a8f06e5')
+b2sums=('03ccefa3ade3567c62148fb66527117b4c31f3e664d02cb49b6ecba33825bd1ced64351b4b03cf25f8ad829cf2b1b3bd2fceb47f87e5832e2c0aecc2baae46cf')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -20,12 +24,13 @@
 }
 
 build() {
-  cd "$pkgname-$pkgver/source"
-  make
+  cd "$pkgname-$pkgver"
+  make -C source
 }
 
 package() {
-  cd "$pkgname-$pkgver/source"
-  make DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
-  install -vDm 644 ../{AUTHORS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
+  depends+=('libjack.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install -C source
+  install -vDm 644 {AUTHORS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list