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

David Runge dvzrv at gemini.archlinux.org
Wed Mar 9 19:53:02 UTC 2022


    Date: Wednesday, March 9, 2022 @ 19:53:01
  Author: dvzrv
Revision: 1145689

upgpkg: yabridge 3.8.1-1: Upgrade to 3.8.1.

Remove unneeded quotes and curly braces.

Modified:
  yabridge/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-09 19:48:33 UTC (rev 1145688)
+++ PKGBUILD	2022-03-09 19:53:01 UTC (rev 1145689)
@@ -2,8 +2,8 @@
 
 pkgbase=yabridge
 pkgname=(yabridge yabridgectl)
-pkgver=3.8.0
-_commit=28217f6c20898aef14b9d835b66571e6d4b8822b  # 3.8.0^{}
+pkgver=3.8.1
+_commit=b2ac08436f15382129127b524872c289f10566ec  # 3.8.1^{}
 pkgrel=1
 pkgdesc="A modern and transparent way to use Windows VST2 and VST3 plugins on Linux"
 arch=(x86_64)
@@ -13,8 +13,8 @@
 # if LTO is enabled the cmake detection will explode because of wine
 options=(!lto)
 source=(
-  "git+https://github.com/robbert-vdh/${pkgbase}.git#commit=${_commit}"
-  "${pkgbase}-3.8.0-vst3sdk_meson.build::https://raw.githubusercontent.com/robbert-vdh/vst3sdk/a129e37aa9996d58c4d6cc1bdf428f7b29392a6d/meson.build"
+  git+https://github.com/robbert-vdh/$pkgbase.git#commit=$_commit
+  $pkgbase-3.8.0-vst3sdk_meson.build::https://raw.githubusercontent.com/robbert-vdh/vst3sdk/a129e37aa9996d58c4d6cc1bdf428f7b29392a6d/meson.build
 )
 sha512sums=('SKIP'
             '4e0013c911cc7e145853fc8ac33c71a8a0bb17d8d915cd5f9a1b9f51e830769c567e7edd2f0e91c68cb03cc708a5d46b7bb191a4576b862b8f319dd1e307aa13')
@@ -23,19 +23,19 @@
 
 prepare() {
   # remove all wraps as they are ignored anyways
-  rm -rv ${pkgname}/subprojects/*
+  rm -rv $pkgname/subprojects/*
   # put system-installed vst3sdk in place and add upstream meson.build file from https://github.com/robbert-vdh/vst3sdk/
-  mkdir -vp ${pkgname}/subprojects/vst3
-  cp -av /usr/include/vst3sdk/* ${pkgname}/subprojects/vst3/
-  cp -v "${pkgbase}-3.8.0-vst3sdk_meson.build" ${pkgname}/subprojects/vst3/meson.build
+  mkdir -vp $pkgname/subprojects/vst3
+  cp -av /usr/include/vst3sdk/* $pkgname/subprojects/vst3/
+  cp -v $pkgbase-3.8.0-vst3sdk_meson.build $pkgname/subprojects/vst3/meson.build
 
-  cd ${pkgname}/tools/yabridgectl
+  cd $pkgname/tools/yabridgectl
   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {
   local _options=(
-    --cross-file=${pkgname}/cross-wine.conf
+    --cross-file=$pkgname/cross-wine.conf
     -Dwith-bitbridge=true
     -Db_lto=false
     -Db_pie=false
@@ -46,7 +46,7 @@
   arch-meson "$pkgname" build "${_options[@]}"
   ninja -C build
 
-  cd ${pkgname}/tools/yabridgectl
+  cd $pkgname/tools/yabridgectl
   cargo build --frozen --release --all-features
 }
 
@@ -56,8 +56,8 @@
   optdepends=('yabridgectl: for optional setup and management utility')
 
   # project has no install target
-  install -vDm 755 build/${pkgname}-{host,group}{,-32}.exe{,.so} -t "$pkgdir/usr/bin"
-  install -vDm 755 build/lib${pkgname}-{vst2,vst3}.so -t "${pkgdir}/usr/lib/"
+  install -vDm 755 build/$pkgname-{host,group}{,-32}.exe{,.so} -t "$pkgdir/usr/bin"
+  install -vDm 755 build/lib$pkgname-{vst2,vst3}.so -t "$pkgdir/usr/lib/"
 }
 
 package_yabridgectl() {
@@ -64,5 +64,5 @@
   depends=(gcc-libs glibc)
   pkgdesc="Optional utility to help set up and manage yabridge"
 
-  install -vDm 755 "${pkgbase}/tools/${pkgname}/target/release/${pkgname}" -t "${pkgdir}/usr/bin"
+  install -vDm 755 $pkgbase/tools/$pkgname/target/release/$pkgname -t "$pkgdir/usr/bin"
 }



More information about the arch-commits mailing list