File PKGBUILD of Package fluidsynth

pkgname=fluidsynth
pkgver=2.5.0
pkgrel=57.1
pkgdesc="A real-time software synthesizer based on SoundFont 2 specifications"
arch=('any')
url="http://www.fluidsynth.org/"
license=('LGPL2.1')
makedepends=('cmake' 'gzip' 'dbus-broker-units' 'ladspa')
depends=('gcc-libs' 'glibc' 'alsa-lib' 'jack' 'libsndfile' 'libpulse' 'pipewire')
provides=('libfluidsynth.so')
source=("${pkgname}-${pkgver}+gcem.tar.gz")
sha512sums=('SKIP')

build() {
  cd "${pkgname}-${pkgver}"
  cmake -DCMAKE_INSTALL_PREFIX=/usr -Dosal=cpp11 -Denable-libinstpatch=0 .
  make
}

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR=${pkgdir} install
  install -vDm 644 {AUTHORS,README.md,LICENSE,THANKS,TODO} \
    -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
openSUSE Build Service is sponsored by