wok-current view web-skype/receipt @ rev 25119

updated peazip (6.8.0 -> 8.4.0)
author Hans-G?nter Theisgen
date Sun Jun 26 09:56:47 2022 +0100 (2022-06-26)
parents 3842d11b928f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="web-skype"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Makes it easier to connect with family and friends."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="Microsoft"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
11 STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
12 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
13 TAGS="cloud skype"
15 DEPENDS="firefox-official"
16 BUILD_DEPENDS="wget"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
29 # Build Tree.
30 mkdir -p $install/usr/share/applications
31 mkdir -p $install/usr/share/pixmaps
33 # Writing ".desktop" files.
34 # -------------------------
35 # The icons preserve the 'web-*' name for no future conflicts
36 # with other applications.
37 #
38 # >_ Skype Desktop
39 #
40 cat > $install/usr/share/applications/web-skype.desktop << EOT
41 [Desktop Entry]
42 Type=Application
43 Name=Skype Web (Beta)
44 Comment=Makes it easier to connect with family and friends. (Better with Firefox)
45 Categories=Network;
46 Icon=web-skype
47 Exec=firefox-official "https://web.skype.com/"
49 EOT
50 #
51 # >_ Done
52 #
53 cp -a $src/icon/* $install/usr/share/pixmaps
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 cp -a $install/* $fs
60 }