[arch-commits] Commit in qsynth/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Jan 10 20:39:08 UTC 2022
Date: Monday, January 10, 2022 @ 20:39:08
Author: dvzrv
Revision: 1099960
upgpkg: qsynth 0.9.5-1: Upgrade to 0.9.5.
Simplify quoting in file.
Simplify calls to cmake and make.
Modified:
qsynth/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-10 20:39:07 UTC (rev 1099959)
+++ PKGBUILD 2022-01-10 20:39:08 UTC (rev 1099960)
@@ -3,35 +3,33 @@
# Contributor: damir <damir at archlinux.org>
pkgname=qsynth
-pkgver=0.9.4
-pkgrel=2
+pkgver=0.9.5
+pkgrel=1
pkgdesc="Qt GUI for FluidSynth"
-arch=('x86_64')
+arch=(x86_64)
url="https://qsynth.sourceforge.io/"
-license=('GPL')
-groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt6-base')
-makedepends=('cmake' 'fluidsynth' 'qt6-tools')
+license=(GPL)
+groups=(pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme qt6-base)
+makedepends=(cmake fluidsynth qt6-tools)
optdepends=('qt6-wayland: for native wayland support')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('764a90fd86451cd3a12c71f061f4a603cdce54ae80e6543d05fa66a97ea0b7c50bac0350f01f597ec93ed445a5433a9dea6d9c5a43ce385c231aaea8e13675d4')
-b2sums=('e25195755c52c63912b03a416878d248712b78ba0014414bc8b1d31cbd5bb75562640de4a0255d2727a40274a6ff3a84b201d39c93674140ff31ccc581bfd254')
+sha512sums=('157e49e8ebfcf550754379c4f2bae221354cffbfe47dcaea747749c00520339f59de5fe7f17e105674ecc6099a98af5f2326d2d258fe359c0c7522366f4267d4')
+b2sums=('3973c2ea0599b8bf9f12c3ce1bb7eff00b5d20b4f051ebcb578f556dbfce714cbe0bf77038b553289f27cfedc521bd7e179af652c721375e6bedc4d22ce061d5')
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+=('libfluidsynth.so')
- cd "${pkgname}-${pkgver}"
+ depends+=(libfluidsynth.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