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

David Runge dvzrv at gemini.archlinux.org
Mon Jan 10 21:00:01 UTC 2022


    Date: Monday, January 10, 2022 @ 21:00:00
  Author: dvzrv
Revision: 1100011

upgpkg: qsampler 0.9.5-1: Upgrade to 0.9.5.

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

Modified:
  qsampler/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 20:57:27 UTC (rev 1100010)
+++ PKGBUILD	2022-01-10 21:00:00 UTC (rev 1100011)
@@ -4,36 +4,33 @@
 # Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
 
 pkgname=qsampler
-pkgver=0.9.4
+pkgver=0.9.5
 pkgrel=1
 pkgdesc="A LinuxSampler Qt GUI Interface"
-arch=('x86_64')
+arch=(x86_64)
 url="https://qsampler.sourceforge.io/"
-license=('GPL2')
-groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'libgig' 'libgig.so' 'liblscp'
-'liblscp.so' 'linuxsampler' 'qt6-base')
-makedepends=('cmake' 'qt6-tools')
+license=(GPL2)
+groups=(pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme libgig libgig.so liblscp liblscp.so
+linuxsampler qt6-base)
+makedepends=(cmake qt6-tools)
 optdepends=('qt6-wayland: for native wayland support')
 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('0e43a335c503bd76d41bfe88967b199bcd8c34a44a65293c1460daa342ca1e35f236984af74e30404637e9f6c8428b4cc52fc27501af7d52e1c9e30f1a80d35e')
-b2sums=('83f0eb7102d6dbba994d2efeee59ebc46ce2b07d40b9dcfe97ed3059fefd449fa90167718ef65ef41f04709ef9c985c86e2b35a0572b47a948172cf5b1a5dc23')
+sha512sums=('2f79e4928ccb2cecafe63fc0b35349ed2ad4b26fe4436bdea0446f1d54a61478dbd5df87445bdd77c5ffd6c5e93e478c90b1576f4c1105276abe34a99b6a30e3')
+b2sums=('0051fc3bee7b3c544336b68ae36acbab265eb5dfd7750d525402d5ffea6ed69481fcccd77ba54df37c4eb2305ad25a6a56181aa4fa12d6a3afa86e012be5cb84')
 
 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() {
-  cd "${pkgname}-${pkgver}"
   make VERBOSE=1 DESTDIR="$pkgdir" install -C build
-  install -vDm 644 {AUTHORS,ChangeLog,README,TODO} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  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