SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "web-picozu"

# SliTaz package receipt.

PACKAGE="web-picozu"
VERSION="0.1"
CATEGORY="network"
SHORT_DESC="Picozu is a online HTML5 image editor."
MAINTAINER="hackdorte@sapo.pt"
LICENSE="Freeware"
SOURCE="picozu"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://people.slitaz.org/~leonardolaporte"
STUFF_DIR="lab.slitaz/5.0/pkg/web/image/editor"
WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
TAGS="cloud editor image picozu"

DEPENDS="tazweb"
BUILD_DEPENDS="wget"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
}

# Rules to configure and make the package.
compile_rules()
{

# Build Tree.
  mkdir -p $install/usr/share/applications
  mkdir -p $install/usr/share/pixmaps

# Writing ".desktop" files.
# -------------------------
# The icons preserve the 'web-*' name for no future conflicts
# with other applications.
#
# >_ Picozu Desktop
#
cat > $install/usr/share/applications/web-picozu.desktop << EOT
[Desktop Entry]
Type=Application
Name=Picozu Image Editor (WebApp)
Comment=Picozu the HTML5 online image editor.
Categories=Network;
Icon=web-picozu
Exec=tazweb --notoolbar "https://www.picozu.com/editor"

EOT
#
# >_ Done
#
  cp -a $src/icon/* $install/usr/share/pixmaps
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
  cp -a $install/* $fs
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)