wok-next view web-picozu/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 80ebae36349f |
children | cd7906120828 |
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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
22 # Build Tree.
23 mkdir -p $install/usr/share/applications
24 mkdir -p $install/usr/share/pixmaps
26 # Writing ".desktop" files.
27 # -------------------------
28 # The icons preserve the 'web-*' name for no future conflicts
29 # with other applications.
30 #
31 # >_ Picozu Desktop
32 #
33 cat > $install/usr/share/applications/web-picozu.desktop << EOT
34 [Desktop Entry]
35 Type=Application
36 Name=Picozu Image Editor (WebApp)
37 Comment=Picozu the HTML5 online image editor.
38 Categories=Network;
39 Icon=web-picozu
40 Exec=tazweb --notoolbar "https://www.picozu.com/editor"
42 EOT
43 #
44 # >_ Done
45 #
46 cp -a $src/icon/* $install/usr/share/pixmaps
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 cp -a $install/* $fs
53 }