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