File PKGBUILD of Package synthv1
pkgname=synthv1
pkgver=1.3.2.4git.b0dea8
pkgrel=9.1
pkgdesc="synthv1 - an old-school polyphonic synthesizer"
arch=('x86_64')
url="https://synthv1.sourceforge.io/"
license=('GPL2')
groups=('lv2-plugins' 'pro-audio')
makedepends=('cmake' 'gzip' 'dbus-broker-units' 'lv2'
'qtbase6.10-static' 'qttools6.10-static'
'qttranslations6.10-static' 'qtsvg6.10-static')
depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'mesa'
'alsa-lib' 'jack2' 'liblo' )
source=("${pkgname}-${pkgver}.tar.gz")
sha512sums=('SKIP')
build() {
cd "${pkgname}-${pkgver}"
source /opt/qt6.10-static/bin/qt6.10-static-env.sh
cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev -B build -S .
cmake --build build --parallel 7
}
package() {
cd "${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" cmake --install build
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm 644 {README,LICENSE,ChangeLog}
}