[arch-commits] Commit in fluidsynth/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun Jan 23 15:33:25 UTC 2022


    Date: Sunday, January 23, 2022 @ 15:33:25
  Author: dvzrv
Revision: 434987

upgpkg: fluidsynth 2.2.5-1: Upgrade to 2.2.5.

Simplify calls to cmake/make.

Modified:
  fluidsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-23 14:56:19 UTC (rev 434986)
+++ PKGBUILD	2022-01-23 15:33:25 UTC (rev 434987)
@@ -3,7 +3,7 @@
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=fluidsynth
-pkgver=2.2.4
+pkgver=2.2.5
 pkgrel=1
 pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
 arch=(x86_64)
@@ -16,11 +16,10 @@
 provides=(libfluidsynth.so soundfont-synthesizer)
 backup=("etc/conf.d/$pkgname")
 source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz")
-sha512sums=('46c3f0759cc011f34e5ba80684df4e8b593315d564da2341aaea14a5f0ba9cf732933f6ebc8712506f194b044a8e2b198b9e50879ff4221e6a9ab8051e79b48f')
-b2sums=('28a2a8048ad3f652afd424358b1b268d42672eb8fba0bdb30c72c06041617844fb5b90bc922e905d80ca2818eac03e9e5ce7f9a57b4cf68a43f60ed4bfddcd49')
+sha512sums=('9ba96da560d3e0a3e38febc6f10d2b3d8019b63ffa0a4c6fa9032efd019333df0367bdd3056faba22517f59f4ef27b18d52429606ed2b8306f69778fd755beb2')
+b2sums=('a658e5fb66ebb091560d9e0b8bddd99ec7e7e84c58d9074057fd612a2eb0abf637778ea06c3481dd4d5179a917d47a08f25533d9002c1a915037a83279e2381a')
 
 build() {
-  cd "${pkgname}-${pkgver}"
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_BUILD_TYPE=None \
         -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
@@ -29,12 +28,11 @@
         -DLIB_SUFFIX="" \
         -Wno-dev \
         -B build \
-        -S .
+        -S "${pkgname}-${pkgver}"
   make -C build VERBOSE=1
 }
 
 check() {
-  cd "${pkgname}-${pkgver}"
   make -C build -k check
 }
 
@@ -43,7 +41,6 @@
   libgobject-2.0.so libinstpatch-1.0.so libjack.so libportaudio.so
   libpulse-simple.so libreadline.so libsndfile.so libsystemd.so)
 
-  cd "${pkgname}-${pkgver}"
   make -C build DESTDIR="$pkgdir" install
   # systemd user unit
   install -vDm 644 "build/${pkgname}.service" -t "$pkgdir/usr/lib/systemd/user/"
@@ -50,5 +47,5 @@
   # system-wide configuration file
   install -vDm 644 "build/${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
   # docs
-  install -vDm 644 {AUTHORS,ChangeLog,{CONTRIBUTING,README}.md,THANKS,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 "${pkgname}-${pkgver}/"{AUTHORS,ChangeLog,{CONTRIBUTING,README}.md,THANKS,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list