wok-next view web-picozu/receipt @ rev 19215
Up coreutils(8.25)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 15 17:23:11 2016 +0300 (2016-06-15) |
parents | aa23a173cbef |
children | d43bf7aae921 |
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 }