Date: Monday, October 28, 2019 @ 21:27:23 Author: dvzrv Revision: 520866
upgpkg: lib32-fluidsynth 2.0.8-1 Upgrading to 2.0.8. Updating contributor info. Simplifying cmake/ make calls by providing the build directory via flag. Modified: lib32-fluidsynth/trunk/PKGBUILD ----------+ PKGBUILD | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-10-28 18:50:27 UTC (rev 520865) +++ PKGBUILD 2019-10-28 21:27:23 UTC (rev 520866) @@ -1,5 +1,5 @@ # Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: David Runge <d...@sleepmap.de> +# Contributor: David Runge <dv...@archlinux.org> # Contributor: carstene1ns <arch.cars...@teibes.de> # Contributor: Giuseppe CalĂ <jive...@gmail.com> # Contributor: Ray Rashif <sc...@archlinux.org> @@ -7,7 +7,7 @@ pkgname=lib32-fluidsynth _name=fluidsynth -pkgver=2.0.7 +pkgver=2.0.8 pkgrel=1 pkgdesc='A real-time software synthesizer based on the SoundFont 2 specifications' arch=('x86_64') @@ -31,40 +31,38 @@ ) optdepends=('pulseaudio: PulseAudio sound support') source=("$pkgname-$pkgver.tar.gz::https://github.com/${_name}/${_name}/archive/v${pkgver}.tar.gz") -sha256sums=('b68876d24c7fb34575ffa389bcfe8e61a24f1cf1da8ec6c3b2053efde98d0320') +sha256sums=('0c37e72db31d1b35e587b94b7163d68444cffaa9e7fe8a293d79957620bff117') prepare() { cd "${_name}-${pkgver}" - # out-of-tree build - mkdir build + mkdir -vp build } build() { - cd "${_name}-${pkgver}/build" + cd "${_name}-${pkgver}" export CC='gcc -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \ - -DLIB_SUFFIX=32 \ - -Denable-ladspa=ON \ - -Denable-lash=OFF \ - -Denable-portaudio=ON - make + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \ + -DLIB_SUFFIX=32 \ + -Denable-ladspa=ON \ + -Denable-portaudio=ON \ + -B build + make -C build VERBOSE=1 } check() { - cd "${_name}-${pkgver}/build" - make -k check + cd "${_name}-${pkgver}" + make -C build -k check } package() { - cd "${_name}-${pkgver}/build" + cd "${_name}-${pkgver}" - make DESTDIR="${pkgdir}" install + make -C build DESTDIR="${pkgdir}" install rm -rf "${pkgdir}"/usr/{include,share,bin} }