[arch-commits] Commit in qmidinet/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Jan 10 20:41:56 UTC 2022
Date: Monday, January 10, 2022 @ 20:41:56
Author: dvzrv
Revision: 1099970
upgpkg: qmidinet 0.9.5-1: Upgrade to 0.9.5.
Simplify quoting in file.
Simplify calls to cmake and make.
Modified:
qmidinet/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-10 20:41:42 UTC (rev 1099969)
+++ PKGBUILD 2022-01-10 20:41:56 UTC (rev 1099970)
@@ -1,35 +1,33 @@
# Maintainer: David Runge <dvzrv at archlinux.org>
pkgname=qmidinet
-pkgver=0.9.4
+pkgver=0.9.5
pkgrel=1
pkgdesc="A MIDI Network Gateway via UDP/IP Multicast"
-arch=('x86_64')
+arch=(x86_64)
url="https://qmidinet.sourceforge.io"
-license=('GPL2')
-groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt6-base')
-makedepends=('alsa-lib' 'cmake' 'jack2' 'qt6-tools')
+license=(GPL2)
+groups=(pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme qt6-base)
+makedepends=(alsa-lib cmake jack2 qt6-tools)
optdepends=('qt6-wayland: for native wayland support')
source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('658af6e88bcb2a5dcf78dc7ecc15ba29040c2687fbadfb7c2f40e940d132ae21272208befde43fe227d9d27866235619335cde7d027f9b6595058ef8882421e8')
-b2sums=('d07b12d3df04b1a9fbee9491d5657e2b7d7d1c1c9f7e32406d88f8fc78d2ac0c6b5d9d50b913ebe1adf33c1888c67d82c26827c0af094f5cb1523d09fad0ff9d')
+sha512sums=('83f9bb1a66f9c23bd59b874442424f5c60babcf9086baad12d383c8a0839f46e0bacf07fb03844c877e55d622923f623b09c3ebe532cdc36f4b244e2ee7d58cd')
+b2sums=('fc2e0a795780ebad123c9eb31934e37d72feb35d9479f2a3e16a02a00cb7f20af385567339d34727a56b79ac2da14a9dc1726c7882be6e9ca4112aeb0948f20d')
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() {
- depends+=('libasound.so' 'libjack.so')
- cd "${pkgname}-${pkgver}"
+ depends+=(libasound.so libjack.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}"
}
More information about the arch-commits
mailing list