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