1 # Contributor: scrawler@gmail.com
5 whatdir=${srcdir}/${pkgname}-${pkgver}_10
7 pkgdesc="A Java mindmapping tool"
9 url="http://freeplane.sourceforge.net"
12 depends=('java-runtime')
13 #source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_bin-${pkgver//./_}.zip
14 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_bin-${pkgver}.zip
15 freeplane.png freeplane.desktop freeplane.run)
17 md5sums=('e5376e12cce5e01c7d6ff7b8fc25e143'
18 '65dc9e13a3b7c2855ab05f804ae5ab8c'
19 '9edcdf9af7f2b005b4fd4c9bdc5dd1a4'
20 'af33b453159293312a8d6e0a35e038b5')
24 for file in $( find plugins -type f ) ; do
25 install -Dm644 ${file} ${pkgdir}/usr/share/freeplane/${file}
28 install -Dm755 ${srcdir}/freeplane.run ${pkgdir}/usr/bin/freeplane
29 install -Dm755 ${whatdir}/freeplane.sh ${pkgdir}/usr/share/freeplane/freeplane.sh
30 install -Dm644 ${whatdir}/init.xargs ${pkgdir}/usr/share/freeplane/init.xargs
31 install -Dm644 ${whatdir}/props.xargs ${pkgdir}/usr/share/freeplane/props.xargs
32 install -Dm644 ${whatdir}/license.txt ${pkgdir}/usr/share/freeplane/licence.txt
34 mkdir -p ${pkgdir}/usr/share/freeplane/resources
35 mkdir -p ${pkgdir}/usr/share/freeplane/resources/accelerators
36 mkdir -p ${pkgdir}/usr/share/freeplane/resources/ortho
37 mkdir -p ${pkgdir}/usr/share/freeplane/resources/xslt
39 mkdir -p ${pkgdir}/usr/share/freeplane/core
40 mkdir -p ${pkgdir}/usr/share/freeplane/core/org.freeplane.core
41 mkdir -p ${pkgdir}/usr/share/freeplane/core/org.freeplane.core/META-INF
42 mkdir -p ${pkgdir}/usr/share/freeplane/core/org.freeplane.core/lib
43 install -Dm644 ${whatdir}/core/org.freeplane.core/META-INF/* ${pkgdir}/usr/share/freeplane/core/org.freeplane.core/META-INF/
44 install -Dm644 ${whatdir}/core/org.freeplane.core/lib/* ${pkgdir}/usr/share/freeplane/core/org.freeplane.core/lib
47 install -Dm644 ${whatdir}/resources/accelerators/* ${pkgdir}/usr/share/freeplane/resources/accelerators/
48 install -Dm644 ${whatdir}/resources/ortho/* ${pkgdir}/usr/share/freeplane/resources/ortho/
49 install -Dm644 ${whatdir}/resources/xslt/* ${pkgdir}/usr/share/freeplane/resources/xslt/
51 install -Dm644 ${whatdir}/doc/freeplane.mm ${pkgdir}/usr/share/freeplane/doc/freeplane.mm
53 install -Dm644 ${srcdir}/freeplane.desktop ${pkgdir}/usr/share/applications/freeplane.desktop
54 install -Dm644 ${srcdir}/freeplane.png ${pkgdir}/usr/share/pixmaps/freeplane.png
55 install -Dm644 ${whatdir}/framework.jar ${pkgdir}/usr/share/freeplane/framework.jar