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

David Runge dvzrv at gemini.archlinux.org
Mon Jan 10 20:35:38 UTC 2022


    Date: Monday, January 10, 2022 @ 20:35:38
  Author: dvzrv
Revision: 1099946

upgpkg: qjackctl 0.9.6-1: Upgrade to 0.9.6.

Simplify quoting in file.
Simplify calls to cmake and make.

Modified:
  qjackctl/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 20:35:20 UTC (rev 1099945)
+++ PKGBUILD	2022-01-10 20:35:38 UTC (rev 1099946)
@@ -3,38 +3,36 @@
 # Contributor: Tobias Kieslich <tobias at archlinux.org>
 
 pkgname=qjackctl
-pkgver=0.9.5
+pkgver=0.9.6
 pkgrel=1
 pkgdesc="A Qt front-end for the JACK low-latency audio server"
+arch=(x86_64)
 url="https://qjackctl.sourceforge.io"
-arch=('x86_64')
-license=('GPL2')
-groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt6-base')
-makedepends=('alsa-lib' 'cmake' 'jack2' 'jack2-dbus' 'qt6-tools' 'portaudio')
+license=(GPL2)
+groups=(pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme qt6-base)
+makedepends=(alsa-lib cmake jack2 jack2-dbus qt6-tools portaudio)
 optdepends=(
   'jack2-dbus: for JACK dbus support'
   'qt6-wayland: for native wayland support'
 )
 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('2edceefd30a57b3b2277db271dd95c2b47b4a85106762eb3149dff94328265c096c5a26d301bd0edcd8f5d948dfc24ff2d3da532ac297121e4fee6982fb6ba56')
-b2sums=('3446b0cb5cd34541d5761f3f6e2361dcfb50656997c723b5972aa60466a1eb1a720fb5d97684079832705b084d8d1ca082f652145d51ff89aedfab71a90d5c5e')
+sha512sums=('0af54ffc9a4afa3672e5996273f2ba20c7b0aec2d64831944a3aed16b7d33a48eca7d71dd799f197e450c44010065ea9e8ca9d5cc307af926697a2f95a4fa023')
+b2sums=('8d4d6a5ddb712c7ea8c7494a0392250e8128b4284addce797031294c19059e05f7db43ca2b421d7ebaf0abe8db95e2cf098dec3fb2b520a3ff282383fe169455')
 
 build() {
-  cd "${pkgname}-${pkgver}"
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE='None' \
+        -DCMAKE_BUILD_TYPE=None \
         -DCONFIG_QT6=ON \
         -Wno-dev \
         -B build \
-        -S .
+        -S "${pkgname}-${pkgver}"
   make VERBOSE=1 -C build
 }
 
 package() {
-  depends+=('libasound.so' 'libjack.so' 'libportaudio.so')
-  cd "${pkgname}-${pkgver}"
+  depends+=(libasound.so libjack.so libportaudio.so)
+
   make VERBOSE=1 DESTDIR="$pkgdir" install -C build
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 {AUTHORS,ChangeLog,README,TODO,TRANSLATORS}
+  install -vDm 644 "${pkgname}-${pkgver}/"{ChangeLog,README,TRANSLATORS} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list