File PKGBUILD of Package padthv1
pkgname=padthv1
pkgver=1.4.0.2git.0e3f44
pkgrel=11.1
pkgdesc="padthv1 - an old-school polyphonic additive synthesizer."
arch=('x86_64')
url="https://padthv1.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' 'fftw')
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}
}