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

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


    Date: Monday, January 10, 2022 @ 20:31:19
  Author: dvzrv
Revision: 1099928

upgpkg: samplv1 0.9.24-1: Upgrade to 0.9.24.

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

Modified:
  samplv1/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 20:31:16 UTC (rev 1099927)
+++ PKGBUILD	2022-01-10 20:31:19 UTC (rev 1099928)
@@ -2,15 +2,15 @@
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=samplv1
-pkgver=0.9.23
+pkgver=0.9.24
 pkgrel=1
 pkgdesc="Polyphonic sampler synthesizer with stereo fx"
-arch=('x86_64')
+arch=(x86_64)
 url="https://samplv1.sourceforge.io/"
-license=('GPL2')
-groups=('lv2-plugins' 'pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'lv2-host' 'qt6-base')
-makedepends=('alsa-lib' 'cmake' 'jack' 'liblo' 'libsndfile' '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 libsndfile lv2 qt6-tools)
 optdepends=('alsa-lib: for standalone application'
             'jack: for standalone application'
             'liblo: for standalone application'
@@ -17,25 +17,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=('96c28d87b98c9f26733dfdbcb81b67186f41611dc357cfd88cdd619716c28bc839b17662cd72f252fd3283d702ff769502b95f0f7bccf74693038340560a8125')
-b2sums=('5c7890b7ab7b73f152827fbece622a071e145469f1f76dd7c7fd8a9783af1a1bc1a41f1293a1540250a98a179d0f1eab32601bc3d590474e4af0566d04171c5a')
+sha512sums=('572ea83e77e8cffa4679b9ffe7db0d1ce862e8adbbee4d4cfafae4bc79348e58f2f3228db2654436d07417fb0b78d9916c8f0757828379b45f396ad61364b0d0')
+b2sums=('d37d9f97dcf04805b4bedde6d7bd642e93445e63a0037df64b6d5b819066ff148782d8997308b35d1236fdb9844f531af665f23051f6abce9b24672dbbcfef9b')
 
 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+=('libsndfile.so')
-  cd "${pkgname}-${pkgver}"
+  depends+=(libsndfile.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