File PKGBUILD of Package qsynth
pkgname=qsynth
pkgver=0.9.9.6git.ff1137
pkgrel=53.1
pkgdesc="A fluidsynth Qt GUI Interface"
arch=('x86_64')
url="https://qsynth.sourceforge.io/"
license=('GPL2')
groups=('pro-audio')
makedepends=('cmake' 'gzip')
depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'mesa'
'fluidsynth' 'alsa-lib' 'jack2'
'qt6-base' 'qt6-tools' 'qt6-translations' 'qt6-svg')
source=("${pkgname}-${pkgver}.tar.gz")
sha512sums=('SKIP')
build() {
cd "${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev -B build -S .
make -C build -j7
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" -C build install
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm 644 {README,LICENSE,TRANSLATORS,ChangeLog}
}