community/csound to 6.10.0-8

This commit is contained in:
Kevin Mihelich 2018-02-13 13:38:04 +00:00
parent 43a011f820
commit fd395c4262

View file

@ -12,7 +12,7 @@ buildarch=22
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"
@ -67,10 +67,10 @@ package_csound() {
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 {} \;
}