upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / qmidictl / trunk / PKGBUILD
blob2cdb1abbaebb8c35c066190c85f32d7b55d1b6cd
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=qmidictl
4 pkgver=0.9.9
5 pkgrel=1
6 pkgdesc="MIDI remote control application sending MIDI data over network using UDP/IP multicast"
7 arch=(x86_64)
8 url="https://qmidictl.sourceforge.io/"
9 license=(GPL2)
10 groups=(pro-audio)
11 depends=(
12   gcc-libs
13   glibc
14   hicolor-icon-theme
15   qt6-base
16   qt6-svg
18 makedepends=(
19   cmake
20   qt6-tools
22 optdepends=(
23   'qt6-wayland: for native wayland support'
25 source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
26 sha512sums=('90a1d07076d3d411b4dc36b094c398088b9fd469d1531e64beedefe83d30bd5b46db8ac8642c514a4a224c3ddcd772ff3e4241fffcd1d3fd29f5cd3975303470')
27 b2sums=('afae297f5ca82d7aa1b94180c5002c911583ac991ad6e348a28d776798f8986ed1e5abcd039d4733117eff1d16c674933db2dca030c7eff746d0055696969f84')
29 build() {
30   local cmake_options=(
31     -B build
32     -D CMAKE_BUILD_TYPE=None
33     -D CMAKE_INSTALL_PREFIX=/usr
34     -D CONFIG_QT6=ON
35     -S $pkgname-$pkgver
36     -W no-dev
37   )
39   cmake "${cmake_options[@]}"
40   cmake --build build --verbose
43 package() {
44   DESTDIR="$pkgdir" cmake --install build
45   install -vDm 644 $pkgname-$pkgver/{ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname/"