wok-next annotate jclic/receipt @ rev 21423
updated puzzles again ( -> 20200413)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 17:56:50 2020 +0100 (2020-04-27) |
parents | 8e1b2a143eb3 |
children |
rev | line source |
---|---|
al@20999 | 1 # SliTaz package receipt v2. |
claudinei@4063 | 2 |
claudinei@4063 | 3 PACKAGE="jclic" |
al@20999 | 4 VERSION="0.3.2.9" |
claudinei@4063 | 5 CATEGORY="games" |
samuel_trassare@11982 | 6 SHORT_DESC="A platform for multimedia educational activities" |
al@20999 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15215 | 8 LICENSE="GPL2" |
al@20999 | 9 WEB_SITE="https://github.com/projectestac/jclic" |
al@20999 | 10 # https://clic.xtec.cat/legacy/en/index.html |
al@20999 | 11 HOST_ARCH="any" |
al@20999 | 12 |
claudinei@4063 | 13 TARBALL="$PACKAGE-$VERSION.zip" |
al@20999 | 14 WGET_URL="https://github.com/projectestac/jclic/releases/download/v$VERSION/$TARBALL" |
claudinei@4063 | 15 |
al@20999 | 16 BUILD_DEPENDS="advancecomp" |
pascal@15215 | 17 |
al@20999 | 18 compile_rules() { |
al@20999 | 19 # icons |
al@20999 | 20 mkdir -p \ |
al@20999 | 21 $install/usr/share/icons/hicolor/48x48/apps/ \ |
al@20999 | 22 $install/usr/share/icons/hicolor/scalable/apps/ |
al@20999 | 23 cp icons/author.png icons/jclic.png icons/reports.png \ |
al@20999 | 24 $install/usr/share/icons/hicolor/48x48/apps/ |
al@20999 | 25 cp icons/author.svg icons/jclic.svg icons/reports.svg \ |
al@20999 | 26 $install/usr/share/icons/hicolor/scalable/apps/ |
al@20999 | 27 |
al@20999 | 28 # menus |
al@20999 | 29 mkdir -p $install/usr/share/applications/ |
al@20999 | 30 cp $stuff/*.desktop $install/usr/share/applications/ |
al@20999 | 31 |
al@20999 | 32 # java applets |
al@20999 | 33 mkdir -p $install/usr/lib/jclic/ |
al@20999 | 34 cp *.jar *.js $install/usr/lib/jclic/ |
al@20999 | 35 |
al@20999 | 36 # docs |
al@20999 | 37 cook_pick_docs *.md *.txt |
al@20999 | 38 |
al@20999 | 39 title "Recompressing jars" |
al@20999 | 40 advzip -zk3 $install/usr/lib/jclic/*.jar |
claudinei@4063 | 41 } |
claudinei@4063 | 42 |
al@20999 | 43 genpkg_rules() { |
al@20999 | 44 copy @std |
al@20999 | 45 DEPENDS="java-jre" |
al@20999 | 46 TAGS="java multimedia education" |
claudinei@4063 | 47 } |