SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "web-skype"

# SliTaz package receipt.

PACKAGE="web-skype"
VERSION="0.1"
CATEGORY="network"
SHORT_DESC="Makes it easier to connect with family and friends."
MAINTAINER="hackdorte@sapo.pt"
LICENSE="Microsoft"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://people.slitaz.org/~leonardolaporte"
STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
TAGS="cloud skype"

DEPENDS="firefox-official"
BUILD_DEPENDS="wget"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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.
#
# >_ Skype Desktop
#
cat > $install/usr/share/applications/web-skype.desktop << EOT
[Desktop Entry]
Type=Application
Name=Skype Web (Beta)
Comment=Makes it easier to connect with family and friends. (Better with Firefox)
Categories=Network;
Icon=web-skype
Exec=firefox-official "https://web.skype.com/"

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)