[arch-commits] Commit in lib32-fluidsynth/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Feb 17 08:57:24 UTC 2019
Date: Sunday, February 17, 2019 @ 08:57:22
Author: dvzrv
Revision: 434017
upgpkg: lib32-fluidsynth 2.0.3-2
Rebuilding against fluidsynth 2.0.3.
Modified:
lib32-fluidsynth/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-17 06:46:29 UTC (rev 434016)
+++ PKGBUILD 2019-02-17 08:57:22 UTC (rev 434017)
@@ -1,11 +1,13 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: David Runge <dave at sleepmap.de>
# Contributor: carstene1ns <arch.carsten at teibes.de>
# Contributor: Giuseppe Calà <jiveaxe at gmail.com>
# Contributor: Ray Rashif <schiv at archlinux.org>
# Contributor: damir <damir at archlinux.org>
+_name=fluidsynth
pkgname=lib32-fluidsynth
-pkgver=2.0.0
+pkgver=2.0.3
pkgrel=2
pkgdesc='A real-time software synthesizer based on the SoundFont 2 specifications'
arch=('x86_64')
@@ -16,23 +18,22 @@
'lib32-readline')
makedepends=('cmake' 'git' 'lib32-ladspa')
optdepends=('pulseaudio: PulseAudio sound support')
-source=("git+https://github.com/FluidSynth/fluidsynth.git#tag=v${pkgver}")
-sha256sums=('SKIP')
+source=("$_name-$pkgver.tar.gz::https://github.com/${_name}/${_name}/archive/v$pkgver.tar.gz")
+sha512sums=('4a557c56257dc38394468e9985b811b1e56aa521b01e9ecf76a76483e6f7e94f6c905b3174203f035e972b092f09c2d099e19a3d39ac9c6ede5ac27bff93ecd3')
prepare() {
- if [[ -d build ]]; then
- rm -rf build
- fi
+ cd "${_name}-${pkgver}"
+ # out-of-tree build
mkdir build
}
build() {
- cd build
+ cd "${_name}-${pkgver}/build"
export CC='gcc -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- cmake ../fluidsynth \
+ cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DFLUID_DAEMON_ENV_FILE='/etc/conf.d/fluidsynth' \
@@ -44,8 +45,9 @@
}
package() {
- make DESTDIR="${pkgdir}" -C build install
- rm -rf "${pkgdir}"/usr/{include,share,bin}
+ cd "${_name}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+ rm -rfv "${pkgdir}"/usr/{include,share,bin}
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list