File PKGBUILD of Package synthv1
pkgname=synthv1
pkgver=0.9.26.4git.f4091a
pkgrel=67.1
pkgdesc="synthv1 - an old-school polyphonic synthesizer"
arch=('x86_64')
url="https://synthv1.sourceforge.io/"
license=('GPL2')
groups=('lv2-plugins' 'pro-audio')
depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'mesa')
makedepends=('cmake' 'alsa-lib' 'jack2' 'liblo' 'lv2'
'qtbase6-static' 'qttools6-static'
'qttranslations6-static' 'qtsvg6-static')
source=("${pkgname}-${pkgver}.tar.gz")
sha512sums=('SKIP')
build() {
cd "${pkgname}-${pkgver}"
source /opt/qt6.3-static/bin/qt6.3-static-env.sh
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,ChangeLog}
}