wok-6.x view thunderbird-bin-fr/receipt @ rev 25377
updated udpxy (1.0.24.1 -> 1.0.25.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 11:20:37 2022 +0100 (2022-07-30) |
parents | 922f061231c2 |
children | 41a539cfe5f8 |
line source
1 # SlitTaz package receipt.
3 PACKAGE="thunderbird-bin-fr"
4 lang="fr"
5 VERSION="68.9.0"
6 CATEGORY="network"
7 SHORT_DESC="Mozilla's Thunderbird email application (French language)."
8 MAINTAINER="mojo@slitaz.org"
9 LICENSE="MPL"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 SOURCE="thunderbird"
12 WEB_SITE="https://www.mozilla.org/"
13 WGET_URL="https://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/$lang/$TARBALL"
15 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
16 HOST_ARCH="i486"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
22 sed '/[0-9]*\.[0-9]*\./!d;s|.*">||;s|/.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Installation path
29 fx='/opt/mozilla/thunderbird-bin'
31 mkdir -p \
32 $install$fx \
33 $install/usr/bin \
34 $install/usr/share/applications \
35 $install/usr/share/pixmaps
37 # Copy everything
38 cp -a $src/* $install$fx
40 # Executable
41 ln -s $fx/thunderbird $install/usr/bin/thunderbird-bin
43 # Icon
44 cp -a $stuff/thunderbird-bin.png \
45 $install/usr/share/pixmaps
47 # Allow user updates
48 chmod -R a+w $install$fx
50 # Desktop shortcut
51 cp $stuff/thunderbird-bin.desktop \
52 $install/usr/share/applications
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cp -a $install/* $fs
59 }