wok-current view web-picozu/receipt @ rev 22532

updated bazaar (2.6.0 -> 2.7.0)
author Hans-G?nter Theisgen
date Fri Jan 03 09:32:34 2020 +0100 (2020-01-03)
parents aa23a173cbef
children 535c806240cc
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 SOURCE="picozu"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
12 STUFF_DIR="lab.slitaz/5.0/pkg/web/image/editor"
13 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
14 TAGS="cloud editor image picozu"
16 DEPENDS="tazweb"
17 BUILD_DEPENDS="wget"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
23 # Build Tree.
24 mkdir -p $install/usr/share/applications
25 mkdir -p $install/usr/share/pixmaps
27 # Writing ".desktop" files.
28 # -------------------------
29 # The icons preserve the 'web-*' name for no future conflicts
30 # with other applications.
31 #
32 # >_ Picozu Desktop
33 #
34 cat > $install/usr/share/applications/web-picozu.desktop << EOT
35 [Desktop Entry]
36 Type=Application
37 Name=Picozu Image Editor (WebApp)
38 Comment=Picozu the HTML5 online image editor.
39 Categories=Network;
40 Icon=web-picozu
41 Exec=tazweb --notoolbar "https://www.picozu.com/editor"
43 EOT
44 #
45 # >_ Done
46 #
47 cp -a $src/icon/* $install/usr/share/pixmaps
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 cp -a $install/* $fs
54 }