wok-next diff web-picozu/receipt @ rev 19072

Add: Picozu the HTML5 online image editor.
author Leonardo Laporte <hackdorte@sapo.pt>
date Sat Apr 23 00:11:02 2016 -0300 (2016-04-23)
parents
children 80ebae36349f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/web-picozu/receipt	Sat Apr 23 00:11:02 2016 -0300
     1.3 @@ -0,0 +1,54 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="web-picozu"
     1.7 +VERSION="0.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Picozu is a online HTML5 image editor."
    1.10 +MAINTAINER="hackdorte@sapo.pt"
    1.11 +LICENSE="Freeware"
    1.12 +SOURCE="picozu"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://people.slitaz.org/~leonardolaporte"
    1.15 +STUFF_DIR="lab.slitaz/5.0/pkg/web/image/editor"
    1.16 +WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
    1.17 +TAGS="cloud editor image picozu"
    1.18 +
    1.19 +DEPENDS="tazweb"
    1.20 +BUILD_DEPENDS="wget"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +
    1.26 +# Build Tree.
    1.27 +  mkdir -p $install/usr/share/applications
    1.28 +  mkdir -p $install/usr/share/pixmaps
    1.29 +
    1.30 +# Writing ".desktop" files.
    1.31 +# -------------------------
    1.32 +# The icons preserve the 'web-*' name for no future conflicts
    1.33 +# with other applications.
    1.34 +#
    1.35 +# >_ Picozu Desktop
    1.36 +#
    1.37 +cat > $install/usr/share/applications/web-picozu.desktop << EOT
    1.38 +[Desktop Entry]
    1.39 +Type=Application
    1.40 +Name=Picozu Image Editor (WebApp)
    1.41 +Comment=Picozu the HTML5 online image editor.
    1.42 +Categories=Network;
    1.43 +Icon=web-picozu
    1.44 +Exec=sh -c "url=https://www.picozu.com/editor ; tazweb --notoolbar \$url || browser \$url"
    1.45 +
    1.46 +EOT
    1.47 +#
    1.48 +# >_ Done
    1.49 +#
    1.50 +  cp -a $src/icon/* $install/usr/share/pixmaps
    1.51 +}
    1.52 +
    1.53 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.54 +genpkg_rules()
    1.55 +{
    1.56 +  cp -a $install/* $fs
    1.57 +}