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

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


    Date: Monday, January 10, 2022 @ 20:35:09
  Author: dvzrv
Revision: 1099942

upgpkg: synthv1 0.9.24-1: Upgrade to 0.9.24.

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

Modified:
  synthv1/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 20:34:48 UTC (rev 1099941)
+++ PKGBUILD	2022-01-10 20:35:09 UTC (rev 1099942)
@@ -2,15 +2,15 @@
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=synthv1
-pkgver=0.9.23
+pkgver=0.9.24
 pkgrel=1
 pkgdesc="Old-school all-digital 4-oscillator subtractive polyphonic synthesizer with stereo fx"
-arch=('x86_64')
+arch=(x86_64)
 url="https://synthv1.sourceforge.io/synthv1-index.html"
-license=('GPL2')
-groups=('lv2-plugins' 'pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'lv2-host' 'qt6-base')
-makedepends=('alsa-lib' 'cmake' 'jack' 'liblo' 'lv2' 'qt6-tools')
+license=(GPL2)
+groups=(lv2-plugins pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme lv2-host qt6-base)
+makedepends=(alsa-lib cmake jack liblo lv2 qt6-tools)
 optdepends=('alsa-lib: for standalone application'
             'jack: for standalone application'
             'liblo: for standalone application'
@@ -17,24 +17,21 @@
             '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=('b4475b1da31fc539470efd4a0a8b7ebfd40b431908548c89f774abbe6f3e76de6dd8549c68c956c4d44cb3a784352897d5859580403aa9812fdfaf7081bfa324')
-b2sums=('8b8f53f86714ccba5d4c8dd2cc7e454551a2a0145da8201fd14d1ef8409ad7d02638a6ba425beed76b0e48321d7a17331a4cc749cfca357e2f480f9a089bc65f')
+sha512sums=('ef465c17d2a32b257525bfcb4d74bbf39582d48008626e059ce2ac6fc5abeeb04a5ef475137f60da21565578c7ff73e2135a48fd116bae73eedb65e2293093eb')
+b2sums=('ddcc0ddce19196fe7b6fc39939cb8edf2d90e3701af4f20bc16fa6d6c1f1cb85c5c3d1783a2ea2ec6b9953ede04e02f627bdaedafc1bd3d0474d63a75bfe37e4')
 
 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() {
-  cd "${pkgname}-${pkgver}"
   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