updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / linuxdsp-jackgtk / PKGBUILD
blobec90e4f4c19d9fc2bf53bb7701596c2bbe370f03
1 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
3 pkgname='linuxdsp-jackgtk'
4 pkgver=1
5 pkgrel=3
6 pkgdesc="JACK GTK linuxDSP audio processing software applications."
7 arch=('i686' 'x86_64')
8 url="http://www.linuxdsp.co.uk/"
9 license=('Non-Commercial' 'Non-Free' 'Gratis')
10 depends=('jack')
11 install='linuxdsp-jackgtk.install'
13 source=('http://www.linuxdsp.co.uk/download/jack/download_sr_2a_jack/sr-2a.zip' \
14         'http://www.linuxdsp.co.uk/download/jack/download_ch_eq2_jack/ch-eq2.zip' \
15         'http://www.linuxdsp.co.uk/download/jack/download_gr_eq2_jack/gr-eq2.zip'\
16         'http://www.linuxdsp.co.uk/download/jack/download_vc2_jack/vc2.zip' \
17         'http://www.linuxdsp.co.uk/download/jack/download_odv2_jack/odv2.zip' \
18         'http://www.linuxdsp.co.uk/download/jack/download_jp1_jack/jp1.zip' \
19         'http://www.linuxdsp.co.uk/download/guitar_fx/ph1/ph1.zip' \
20         'http://www.linuxdsp.co.uk/download/guitar_fx/st1/st1.zip' \
21         'http://www.linuxdsp.co.uk/download/guitar_fx/dt1/dt1.zip')
23 md5sums=('e5f9a1286af1bb74064215dafc451fc6' \
24         '27970a3f5c8327700e146eee07c2a470' \
25         'b2442238e3ded98411e2269bdec82f86' \
26         '367dbef383fd8da050033e54f8e27207' \
27         'a1edcd070b7051271744cf436ca34385' \
28         '3c7e431b52f028c072ce58568789d28f' \
29         'b82519c7f87f767b8f7f666b70dc3ac8' \
30         'da889cba82d3145693c5eb38820ddb4a' \
31         'f1019a4e6e497f493d415db688e0e6cd')
33 build()
35         cd "${srcdir}"
36         mkdir -p "${pkgdir}/usr/bin"
37         mkdir -p "${pkgdir}/usr/share/doc/linuxdsp"
39         if [ "$CARCH" == "x86_64" ]; then
40                 cp "${srcdir}/SR-2A/x86_64/sr-2a_x86-64" "${pkgdir}/usr/bin/sr-2a"
41                 cp "${srcdir}/CH-EQ2/x86_64/ch-eq2_x86-64" "${pkgdir}/usr/bin/ch-eq2"
42                 cp "${srcdir}/GR-EQ2/x86_64/gr-eq2_x86-64" "${pkgdir}/usr/bin/gr-eq2"
43                 cp "${srcdir}/VC2/x86_64/vc2_x86-64" "${pkgdir}/usr/bin/vc2"
44                 cp "${srcdir}/ODV2/x86_64/odv2_x86-64" "${pkgdir}/usr/bin/odv2"
45                 cp "${srcdir}/JP1/x86_64/jp1_x86-64" "${pkgdir}/usr/bin/jp1"
46                 cp "${srcdir}/PH-1/x86-64/ph1_x86-64" "${pkgdir}/usr/bin/ph1"
47                 cp "${srcdir}/ST-1/x86-64/st1_x86-64" "${pkgdir}/usr/bin/st1"
48                 cp "${srcdir}/DT-1/x86-64/dt1_x86-64" "${pkgdir}/usr/bin/dt1"
49         else
50                 cp "${srcdir}/SR-2A/sr-2a_i686" "${pkgdir}/usr/bin/sr-2a"
51                 cp "${srcdir}/CH-EQ2/ch-eq2_i686" "${pkgdir}/usr/bin/ch-eq2"
52                 cp "${srcdir}/GR-EQ2/gr-eq2_i686" "${pkgdir}/usr/bin/gr-eq2"
53                 cp "${srcdir}/VC2/vc2_i686" "${pkgdir}/usr/bin/vc2"
54                 cp "${srcdir}/ODV2/odv2_i686" "${pkgdir}/usr/bin/odv2"
55                 cp "${srcdir}/JP1/jp1_i686" "${pkgdir}/usr/bin/jp1"
56                 cp "${srcdir}/PH-1/ph1_i686" "${pkgdir}/usr/bin/ph1"
57                 cp "${srcdir}/ST-1/st1_i686" "${pkgdir}/usr/bin/st1"
58                 cp "${srcdir}/DT-1/dt1_i686" "${pkgdir}/usr/bin/dt1"
60         fi
62 # Manuals
63         cp "${srcdir}/SR-2A/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/sr-2a.pdf"
64         cp "${srcdir}/CH-EQ2/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/ch-eq2.pdf"
65         cp "${srcdir}/GR-EQ2/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/gr-eq2.pdf"
66         cp "${srcdir}/VC2/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/vc2.pdf"
67         cp "${srcdir}/ODV2/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/odv2.pdf"
68         cp "${srcdir}/JP1/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/jp1.pdf"
69         cp "${srcdir}/PH-1/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/ph1.pdf"
70         cp "${srcdir}/ST-1/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/st1.pdf"
71         cp "${srcdir}/DT-1/manual.pdf" "${pkgdir}/usr/share/doc/linuxdsp/dt1.pdf"