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

David Runge dvzrv at gemini.archlinux.org
Mon Jan 10 20:26:39 UTC 2022


    Date: Monday, January 10, 2022 @ 20:26:39
  Author: dvzrv
Revision: 1099922

upgpkg: padthv1 0.9.24-1: Upgrade to 0.9.24.

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

Modified:
  padthv1/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 20:26:04 UTC (rev 1099921)
+++ PKGBUILD	2022-01-10 20:26:39 UTC (rev 1099922)
@@ -1,15 +1,15 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=padthv1
-pkgver=0.9.23
+pkgver=0.9.24
 pkgrel=1
 pkgdesc="An old-school polyphonic additive synthesizer"
-arch=('x86_64')
+arch=(x86_64)
 url="https://padthv1.sourceforge.io/"
-license=('GPL2')
-groups=('lv2-plugins' 'pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'lv2-host' 'qt5-base')
-makedepends=('alsa-lib' 'cmake' 'fftw' 'jack' 'liblo' 'lv2' 'qt5-tools')
+license=(GPL2)
+groups=(lv2-plugins pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme lv2-host qt6-base)
+makedepends=(alsa-lib cmake fftw jack liblo lv2 qt6-tools)
 optdepends=('alsa-lib: for standalone application'
             'jack: for standalone application'
             'liblo: for standalone application'
@@ -16,25 +16,23 @@
             'new-session-manager: for session management using the standalone application'
             'qt6-wayland: for native wayland support')
 source=("https://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('d313025c012b2944d5a0b3ef95bda8065f0f6bf4e280094344b8fc75f4312af178eb80771b2b1fa6caf6585b27b60f4f173ef67bd89a264ae4527e99ba99900a')
-b2sums=('464c135738cc8afde19f47cbe7589bf8481b1d8d25c248a621ceba619aaf41972acd02743511584de9442acb10c6d42e3012f5b1c06fbd80ff9dec488c0933c3')
+sha512sums=('694991b5ed5772ca48f54e9c99b3f9d64f7a51675011f83b54b6411e4669a0a6e61a7ad954bea8c358f36a55318dce305dc39b8c7960f519a692fe32864fc502')
+b2sums=('40db669997b2ca2b8f272a6529c0abfb17a6660390c1a7d0e19bcc71e58558f61b0f1e788b7a762f1fcca9b173af584e18256348e9da4d32496a94122ae03b86')
 
 build() {
-  cd "${pkgname}-${pkgver}"
-  cmake -DCMAKE_INSTALL_PREFIX='/usr' \
-        -DCMAKE_BUILD_TYPE='None' \
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=None \
         -DCONFIG_QT6=ON \
         -Wno-dev \
         -B build \
-        -S .
+        -S "${pkgname}-${pkgver}"
   make VERBOSE=1 -C build
 }
 
 package() {
-  depends+=('libfftw3.so')
-  cd "${pkgname}-${pkgver}"
+  depends+=(libfftw3.so)
+
   make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 {AUTHORS,ChangeLog,README,TODO}
+  install -vDm 644 "${pkgname}-${pkgver}/"{ChangeLog,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list