wok-6.x annotate web-picozu/receipt @ rev 24145

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