1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="A simple programming system in natural langage (French only)"
7 url="http://langagelinotte.free.fr/"
9 depends=('java-runtime' 'bash')
10 source=(http://langagelinotte.googlecode.com/files/Linotte_${pkgver}.zip http://langagelinotte.googlecode.com/files/DecouvrirLinotte2010C.pdf)
12 md5sums=('e21b4284fb11f1cd542de4fe35a32e69'
13 '86283e89b39676c7ee3359e0af91d682')
22 mkdir -p $pkgdir/usr/share/linotte
23 mkdir -p $pkgdir/usr/bin
25 cp -fr * $pkgdir/usr/share/linotte
26 rm -fr $pkgdir/usr/share/linotte/*.pdf
27 cp -fr ../*.pdf $pkgdir/usr/share/linotte/
31 echo "cd /usr/share/linotte
32 java -jar Linotte.jar" > $pkgdir/usr/bin/linotte
34 echo "cd /usr/share/linotte
35 java -jar jinotte.jar \$1 \$2" > $pkgdir/usr/bin/jinotte
37 chmod +x $pkgdir/usr/bin/linotte
38 chmod +x $pkgdir/usr/bin/jinotte
39 #java -jar Linotte.jar -xw livre.liv
42 mkdir -p $pkgdir/usr/share/pixmaps
43 mkdir -p $pkgdir/usr/share/applications
45 cp $srcdir/../$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
47 install -D -m644 $srcdir/../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop