Date: Saturday, March 31, 2018 @ 21:40:52
  Author: dvzrv
Revision: 313651

archrelease: copy trunk to community-testing-x86_64

Added:
  zynaddsubfx/repos/community-testing-x86_64/
  zynaddsubfx/repos/community-testing-x86_64/PKGBUILD
    (from rev 313650, zynaddsubfx/trunk/PKGBUILD)

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

Copied: zynaddsubfx/repos/community-testing-x86_64/PKGBUILD (from rev 313650, 
zynaddsubfx/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-03-31 21:40:52 UTC (rev 313651)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: David Runge <d...@sleepmap.de>
+# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Ionut Biru <ib...@archlinux.org>
+# Contributor: DonVla <don...@users.sourceforge.net>
+
+pkgname=zynaddsubfx
+pkgver=3.0.3
+pkgrel=2
+pkgdesc="Opensource software synthesizer capable of making a countless number 
of instruments."
+arch=('x86_64')
+url="http://zynaddsubfx.sourceforge.net";
+license=('GPL2')
+depends=('fftw' 'hicolor-icon-theme' 'lash' 'liblo' 'libxpm' 'mxml' 'ntk' 
'portaudio')
+makedepends=('asciidoc' 'cmake' 'doxygen' 'gnuplot' 'dblatex' 'imagemagick' 
'ghostscript' 'texlive-pstricks')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2";)
+sha512sums=('e60e22656388d444114959859c12014ec79d7ba555b0d217ad98ad06e273916eea0eee521bb9dbfdef5be34205280d355b44a8f15760eeff06b16410d560b5d7')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  mkdir -vp build
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/build"
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DDefaultOutput=jack \
+    -DDefaultInput=jack \
+    -DGuiModule=ntk \
+    ..
+  make
+  # build documentation
+  cd ../doc
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}/" install
+  # banks and examples
+  install -vd "${pkgdir}/usr/share/${pkgname}"
+  cp -va ../instruments/banks "${pkgdir}/usr/share/${pkgname}"
+  cp -va ../instruments/examples "${pkgdir}/usr/share/${pkgname}"
+  # icons
+  install -vDm 644 "../${pkgname}.ico" \
+    "${pkgdir}/usr/share/pixmaps/${pkgname}.ico"
+  install -vDm 644 "../${pkgname}.svg" \
+    "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
+  # man page
+  install -vDm 644 "../doc/${pkgname}.1" \
+    "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+  # documentation
+  install -vDm 644 "../doc/${pkgname}.html" \
+    "${pkgdir}/usr/share/doc/${pkgname}/${pkgname}.html"
+  install -vDm 644 "../doc/${pkgname}.pdf" \
+    "${pkgdir}/usr/share/doc/${pkgname}/${pkgname}.pdf"
+  cp -va ../doc/images "${pkgdir}/usr/share/doc/${pkgname}/"
+}

Reply via email to