updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / geogebra5-beta / PKGBUILD
blobcce5421959220244fab81cc3ca8d0d13758a7129
1 # Maintainer: moostik <mooostik_at_gmail.com>
3 pkgname=geogebra5-beta
4 pkgver=4.9.13.0
5 pkgrel=1
6 pkgdesc="Dynamic mathematics software with interactive graphics (2D and 3D), algebra and spreadsheet"
7 arch=('any')
8 url="http://www.geogebra.org/"
9 license=('custom')
10 # Application and source code under GPL / Language files under CCPL
11 depends=('java-runtime' 'jogl' 'desktop-file-utils')
12 optdepends=('kde-thumbnailer-geogebra: generates thumbnails of GeoGebra files in KDE'
13             'gnome-thumbnailer-geogebra: generates thumbnails of GeoGebra files in GNOME')
14 install='geogebra5-beta.install'
15 noextract=(*.jar)
16 _root="http://www.geogebra.org/webstart/5.0/"
17 source=("${pkgname}.png"
18         "${pkgname}.desktop"
19         "${pkgname}.sh"
20         "${_root}geogebra.jar"
21         "${_root}geogebra_3d.jar"
22         "${_root}geogebra_algos.jar"
23         "${_root}geogebra_cas.jar"
24         "${_root}geogebra_export.jar"
25         "${_root}geogebra_gui.jar"
26         "${_root}geogebra_javascript.jar"
27         "${_root}geogebra_main.jar"
28         "${_root}geogebra_properties.jar"
29         "${_root}geogebra_usb.jar"
30         "${_root}jlatexmath.jar"
31         "${_root}jlm_cyrillic.jar"
32         "${_root}jlm_greek.jar"
33         "${url}download/license.txt")
35 package() {
36   cd "${srcdir}"
38   # Installing application
39   install -d -m755 "${pkgdir}/usr/share/java/${pkgname}"
40   install -D -m644 *.jar "${pkgdir}/usr/share/java/${pkgname}"
41   install -D -m755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
43   # Creating menu item
44   install -D -m644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
45   install -D -m644 "${pkgname}.desktop" \
46     "${pkgdir}/usr/share/applications/${pkgname}.desktop"
48   # Installing license
49   install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
51   # Needed to use the jogl package
52   ln -s "/usr/share/java/jogl/gluegen-rt.jar" \
53     "${pkgdir}/usr/share/java/${pkgname}/gluegen-rt.jar"
54   ln -s "/usr/share/java/jogl/jogl.jar" \
55     "${pkgdir}/usr/share/java/${pkgname}/jogl.jar"
57   # Needed to use the jlatexmath package
58 #   ln -s "/usr/share/java/jlatexmath-minimal/jlatexmath-minimal.jar" \
59 #     "${pkgdir}/usr/share/java/${pkgname}/jlatexmath.jar"
60 #   ln -s "/usr/share/java/jlatexmath-minimal/jlm_greek.jar" \
61 #     "${pkgdir}/usr/share/java/${pkgname}/jlm_greek.jar"
62 #   ln -s "/usr/share/java/jlatexmath-minimal/jlm_cyrillic.jar" \
63 #     "${pkgdir}/usr/share/java/${pkgname}/jlm_cyrillic.jar"
66 md5sums=('e324ee3a2bb438cee625e3f29770a315'
67          '9dcd074a16b1ec498c7aefd3241e73fb'
68          'd7e8d83a6bf9c0ba9f6a889cfa46c551'
69          '13cc2f3742ad77a45cd23ec1f6aa1788'
70          '535039ab5b9cb2a34e93de587a531841'
71          '2582a13183a3a9c3a5eb956108e001d7'
72          '2dc2c69a6419711fb5baf81f210c1c05'
73          'f3cdbc0ce4baa5af261c7037c4eebaae'
74          '5702b343998c8d6ed4a7c758fa48cc6f'
75          '53f66773db674fbe3bd48eba1d56543d'
76          'ad7fbbc82c22d48f9a6dc495979a678c'
77          '40f62c47010a0fd4c48616ce8f17406a'
78          'adc7f6a5070194161b408b6411604347'
79          '3a0226c472100d49743f96711df9ed4a'
80          'c4069b7b23f12753d3deb8f24fa1079f'
81          '12146f617ebfddebe3325d8f43d9d767'
82          '39e2fbaf507a7b8db047152332d695c5')
83 md5sums=('e324ee3a2bb438cee625e3f29770a315'
84          '9dcd074a16b1ec498c7aefd3241e73fb'
85          'd7e8d83a6bf9c0ba9f6a889cfa46c551'
86          'd0c66b4bdfe7bf3d081b2c15e2c85563'
87          'fd7d762a5ff207de78e1b80014936914'
88          '09f98a4648fa4fba69de59942def7e08'
89          '7a4cb7c1b05e089bc38260ea4040b08b'
90          'c04577e6d149b29053246b0eb4436b42'
91          '466fbb9c7f47baeec7aa748876f3dc13'
92          'd1c4078bd7d5df4b861c5b8392af7fb1'
93          '2757b5273b9f244e7324dbb5499f1606'
94          'e47fbaa106e9dd52d119975654f5cc6f'
95          '64cc37a74eba45a5c6debf886d870b64'
96          '9448b8decbf9314f1ad3302596a5cd6c'
97          '53b55aa598c0f7defabace9b17850c86'
98          '8ce929eee02bd748cf1e55b620459f06'
99          '39e2fbaf507a7b8db047152332d695c5')