get-scripts view kiwix @ rev 67

kiwix: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 22 08:48:56 2017 +0100 (2017-03-22)
parents 62d94e6800db
children 6c8b1c145691
line source
1 SHORT_DESC="You will have the whole Wikipedia at hand wherever you go!"
2 WEBSITE="http://www.kiwix.org/wiki"
3 CATEGORY="office"
4 LICENSE="GPL3"
5 # end of get.list data
7 WGET_URL="$(wget -O - $WEBSITE/Software/en | sed '/686/!d;s/.*href="\([^"]*\).*/\1/;q')"
8 TARBALL="$(basename $WGET_URL)"
10 wget -O $TARBALL $WGET_URL
11 [ -s $TARBALL ] || abort_package
13 mkdir -p $PACKAGE/fs/opt $PACKAGE/fs/usr/share/applications
15 # Extract package
16 busybox tar xf $TARBALL -C $PACKAGE/fs/opt
17 cat > $PACKAGE/fs/usr/share/applications/kiwix.desktop <<EOT
18 [Desktop Entry]
19 Type=Application
20 Name=Wikipedia Encyclopedia
21 Name[fr]=Encyclopédie Wikipedia
22 Name[pt]=Enciclopédia Wikipedia
23 Name[pt_BR]=Enciclopédia Wikipedia
24 Name[ru]=Википедия
25 Exec=tazbox su /opt/kiwix/kiwix
26 Icon=/opt/kiwix/chrome/icons/default/main.png
27 Categories=Office;Database;
28 EOT