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

David Runge dvzrv at gemini.archlinux.org
Mon Apr 25 19:46:34 UTC 2022


    Date: Monday, April 25, 2022 @ 19:46:33
  Author: dvzrv
Revision: 443965

upgpkg: fluidsynth 2.2.7-1: Upgrade to 2.2.7.

Remove unneeded quotes and curly braces.
Add debug package.

Modified:
  fluidsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-25 18:13:16 UTC (rev 443964)
+++ PKGBUILD	2022-04-25 19:46:33 UTC (rev 443965)
@@ -3,7 +3,7 @@
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=fluidsynth
-pkgver=2.2.6
+pkgver=2.2.7
 pkgrel=1
 pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
 arch=(x86_64)
@@ -14,10 +14,11 @@
 makedepends=(alsa-lib cmake dbus doxygen glib2 jack ladspa libinstpatch
 libpulse libsndfile portaudio readline systemd-libs)
 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=('e4958c409e057fe6e09a0aa86cc0d7c939aa883de479aa90c43f19faa4d0c3a0f6aca7242fad11ec7a7776cb7e2e602c953c6249fc94b9f04425101584ae3e6c')
-b2sums=('5296d48809a457770a968fb9ae20ae4091bbae11d6fbf8a11f75e44de1ca9fa1c121e925e61f25ab1016907ced73364ff632ffa3e7edfa9d15019bf3f3e0bb3c')
+backup=(etc/conf.d/$pkgname)
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
+sha512sums=('62709f96fa07bbafb9b907438da7376abdf1a4e679cd2b105c5bca257f1ff62c18bd4c646ef2ccba64ca5273604da996fb2caaf61eeee44686bf45fef1ed83a7')
+b2sums=('fd53603947ddf5a76676cfc3d77b1d904146ec7c30ab6e54a2c32cae0e76ec4b66397506072cac277febdd1b799801d5b13c7b37cc0ea4a545fae26077a1d881')
 
 build() {
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
@@ -28,7 +29,7 @@
         -DLIB_SUFFIX="" \
         -Wno-dev \
         -B build \
-        -S "${pkgname}-${pkgver}"
+        -S $pkgname-$pkgver
   make -C build VERBOSE=1
 }
 
@@ -43,9 +44,9 @@
 
   make -C build DESTDIR="$pkgdir" install
   # systemd user unit
-  install -vDm 644 "build/${pkgname}.service" -t "$pkgdir/usr/lib/systemd/user/"
+  install -vDm 644 build/$pkgname.service -t "$pkgdir/usr/lib/systemd/user/"
   # system-wide configuration file
-  install -vDm 644 "build/${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
+  install -vDm 644 build/$pkgname.conf "$pkgdir/etc/conf.d/$pkgname"
   # docs
-  install -vDm 644 "${pkgname}-${pkgver}/"{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