Date: Tuesday, February 13, 2018 @ 10:51:08
  Author: dvzrv
Revision: 293770

upgpkg: csound 6.10.0-8

Moving csound-doc contents to proper /usr/share/doc location. This is also 
relevant for csoundqt's default paths.

Modified:
  csound/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-13 10:18:38 UTC (rev 293769)
+++ PKGBUILD    2018-02-13 10:51:08 UTC (rev 293770)
@@ -6,7 +6,7 @@
 pkgbase=csound
 pkgname=('csound' 'csound-doc')
 pkgver=6.10.0
-pkgrel=7
+pkgrel=8
 pkgdesc="A programming language for sound rendering and signal processing."
 arch=('x86_64')
 url="http://csound.com";
@@ -59,10 +59,10 @@
 package_csound-doc() {
   license=('LGPL' 'GPL')
   install -vDm644 Csound${pkgver}_manual.pdf \
-    "${pkgdir}/usr/share/doc/${pkgbase}/${pkgbase}-manual.pdf"
+    "${pkgdir}/usr/share/doc/${pkgname[1]}/${pkgbase}-manual.pdf"
 
-  install -dv "${pkgdir}/usr/share/doc/${pkgbase}/html"
-  cp -av "${srcdir}"/html/* "${pkgdir}/usr/share/doc/${pkgbase}/html"
+  install -dv "${pkgdir}/usr/share/doc/${pkgname[1]}/html"
+  cp -av "${srcdir}"/html/* "${pkgdir}/usr/share/doc/${pkgname[1]}/html"
   # fix file permissions
   find "${pkgdir}" -type f -exec chmod -c 644 {} \;
 }

Reply via email to