wok-next view web-picozu/receipt @ rev 20957

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 15:26:05 2018 +0300 (2018-09-05)
parents d43bf7aae921
children
line source
1 # SliTaz package receipt.
3 PACKAGE="web-picozu"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Picozu is a online HTML5 image editor."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="Freeware"
9 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
10 REPOLOGY="-"
12 SOURCE="picozu"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 STUFF_DIR="lab.slitaz/5.0/pkg/web/image/editor"
15 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
16 TAGS="cloud editor image picozu"
18 DEPENDS="tazweb"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
24 # Build Tree.
25 mkdir -p $install/usr/share/applications
26 mkdir -p $install/usr/share/pixmaps
28 # Writing ".desktop" files.
29 # -------------------------
30 # The icons preserve the 'web-*' name for no future conflicts
31 # with other applications.
32 #
33 # >_ Picozu Desktop
34 #
35 cat > $install/usr/share/applications/web-picozu.desktop << EOT
36 [Desktop Entry]
37 Type=Application
38 Name=Picozu Image Editor (WebApp)
39 Comment=Picozu the HTML5 online image editor.
40 Categories=Network;
41 Icon=web-picozu
42 Exec=tazweb --notoolbar "https://www.picozu.com/editor"
44 EOT
45 #
46 # >_ Done
47 #
48 cp -a $src/icon/* $install/usr/share/pixmaps
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 cp -a $install/* $fs
55 }