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

David Runge dvzrv at archlinux.org
Tue Nov 19 08:30:54 UTC 2019


    Date: Tuesday, November 19, 2019 @ 08:30:53
  Author: dvzrv
Revision: 530411

upgpkg: sonic-visualiser 4.0-2

Fixing missing executable bits on some of the binaries (FS#64449).

Modified:
  sonic-visualiser/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-19 07:41:05 UTC (rev 530410)
+++ PKGBUILD	2019-11-19 08:30:53 UTC (rev 530411)
@@ -5,7 +5,7 @@
 _download_id=2580
 pkgname=sonic-visualiser
 pkgver=4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A viewer and analyser of music audio files."
 arch=('x86_64')
 url="https://www.sonicvisualiser.org/"
@@ -42,13 +42,17 @@
   # install some things separately, because build system is broken:
   # https://sourceforge.net/p/sv1/bugs/247/
 
+  # not all binaries are actually executable:
+  # https://bugs.archlinux.org/task/64449
+  chmod 755 "${pkgdir}/usr/bin/"*
+
   # desktop files
-  install -t "${pkgdir}/usr/share/applications/" -vDm 644 "${pkgname}.desktop"
+  install -vDm 644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications/"
   # samples
-  install -t "${pkgdir}/usr/share/${pkgname}/samples" -vDm 644 samples/*
+  install -vDm 644 samples/* -t "${pkgdir}/usr/share/${pkgname}/samples"
   # templates
-  install -t "${pkgdir}/usr/share/${pkgname}/templates" -vDm 644 templates/*
+  install -vDm 644 templates/* -t "${pkgdir}/usr/share/${pkgname}/templates"
   # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 {CHANGELOG,CITATION,README.{md,OSC}}
+  install -vDm 644 {CHANGELOG,CITATION,README.{md,OSC}} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list