# Description: logiciel de messagerie e-mail # URL: http://www.mozilla-europe.org/fr/products/thunderbird/ # Maintainer: NuTyX core team # Packager: lesibel at free dot fr # Depends on: yasm,alsa-lib,gtk,libidl,nss,xorg-libxt,shared-mime-info,dbus-glib,sqlite3,desktop-file-utils,libnotify,libevent,hunspell,gconf,mesa3d # Run on: alsa-lib,gtk,libidl,nss,xorg-libxt,shared-mime-info,dbus-glib,sqlite3,desktop-file-utils,libnotify,libevent,hunspell,gconf,mesa3d name=thunderbird version=5.0 release=2 source=( ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$version/source/thunderbird-$version.source.tar.bz2 \ fr.xpi mozconfig thunderbird-3.0-lang.patch thunderbird-appversion.patch thunderbird.desktop thunderbird.png) build() { cd $SRC/comm-miramar patch -Np1 -i ../thunderbird-3.0-lang.patch patch -Np1 -i ../thunderbird-appversion.patch cp ../mozconfig .mozconfig export CXXFLAGS="-fpermissive" export LDFLAGS="-Wl,-rpath,/usr/lib/thunderbird-5.0 -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed" export PYTHON="/usr/bin/python2" make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" make -j1 -f client.mk DESTDIR=$PKG install for i in 16x16 22x22 24x24 32x32 48x48 256x256; do install -Dm644 other-licenses/branding/thunderbird/mailicon${i/x*/}.png \ $PKG/usr/share/icons/hicolor/$i/apps/thunderbird.png done install -Dm644 $SRC/thunderbird.desktop \ $PKG/usr/share/applications/thunderbird.desktop rm -rf $PKG/usr/lib/thunderbird-5.0/dictionaries ln -sf /usr/share/myspell/dicts $PKG/usr/lib/thunderbird-5.0/dictionaries rm -rf $PKG/usr/lib/thunderbird-devel-5.0/ cd $SRC mv fr.xpi thunderbird-i18n-$version-fr.xpi install -Dm644 thunderbird-i18n-$version-fr.xpi $PKG/usr/lib/thunderbird-$version/extensions/langpack-fr@thunderbird.mozilla.org.xpi }