1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="An editor for the creation of tutorials (.tuto) used on the Site du Zéro"
7 url="http://www.foxycode.net/zeditor/"
10 source=(http://www.foxycode.net/zeditor/trunks/0-5/${pkgname}-0-5-ff.tar.gz)
11 md5sums=('ad6197948ceaf951e5d40ca913a8c0b0')
15 mkdir -p $pkgdir/usr/share/${pkgname}
16 mkdir -p $pkgdir/usr/bin/
17 cp -r $srcdir/zEditor/* $pkgdir/usr/share/${pkgname}
19 echo "xulrunner /usr/share/zeditor/application.ini" > $pkgdir/usr/bin/zeditor
21 chmod +x $pkgdir/usr/bin/zeditor
24 mkdir -p $pkgdir/usr/share/pixmaps
25 mkdir -p $pkgdir/usr/share/applications
27 cp $srcdir/zEditor/chrome/icons/default/zozoreditor.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
29 install -D -m644 $srcdir/../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop