[arch-commits] Commit in csound-doc/repos (2 files)

David Runge dvzrv at archlinux.org
Fri Jan 26 13:24:27 UTC 2018


    Date: Friday, January 26, 2018 @ 13:24:24
  Author: dvzrv
Revision: 287142

archrelease: copy trunk to community-testing-any

Added:
  csound-doc/repos/community-testing-any/
  csound-doc/repos/community-testing-any/PKGBUILD
    (from rev 287141, csound-doc/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: csound-doc/repos/community-testing-any/PKGBUILD (from rev 287141, csound-doc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-01-26 13:24:24 UTC (rev 287142)
@@ -0,0 +1,29 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ainola
+# Contributor: speps
+# Contributor: Bernardo Barros
+# Contributor: Lars Boettcher
+
+_project=csound
+pkgname=csound-doc
+pkgver=6.10.0
+pkgrel=2
+pkgdesc="The Canonical Csound Reference Manual"
+url="http://csound.com"
+arch=('any')
+license=('LGPL' 'GPL')
+source=("https://github.com/${_project}/${_project}/releases/download/${pkgver}/Csound${pkgver}_manual_html.zip"
+        "https://github.com/${_project}/${_project}/releases/download/${pkgver}/Csound${pkgver}_manual_pdf.zip")
+sha512sums=('f61f46705607eb39897fd3b27353fb233acd9da5e00a2b64d63116f74b889f2daafa72d48ed7c5ec1890e32d81331f91455861f2cb3fad3d13b7d27ec203357a'
+            'cf6ec335782032fb0703a3042c0222316cd215eba2be242e65d4f1ae23d886177620c96cc63c1aace43a72c1d6258a88612c1ffd5ef0e43675729bae39969fa1')
+
+package() {
+  install -Dm644 Csound${pkgver}_manual.pdf \
+    "${pkgdir}/usr/share/doc/${_project}/${_project}-manual.pdf"
+
+  install -d "${pkgdir}/usr/share/doc/${_project}/html"
+  cp -a "${srcdir}"/html/* "${pkgdir}/usr/share/doc/${_project}/html"
+  # fix file permissions
+  find "${pkgdir}" -type f -exec chmod 644 {} \;
+}
+



More information about the arch-commits mailing list