summaryrefslogtreecommitdiffstats
path: root/extra/thunderbird/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-09-18 12:44:13 +0200
committerpiernov <piernov@piernov.org>2011-09-18 12:44:13 +0200
commit78b5f77bd60ec0ddb6c9d6700d7fc6a04bd74cdb (patch)
tree36f8cacb46ab29d32cc3ee30a84678c410769e1f /extra/thunderbird/Pkgfile
parentf1da3262b709aa2015a71f26dea6b5cada39b76c (diff)
downloadnutyx-pakxe-78b5f77bd60ec0ddb6c9d6700d7fc6a04bd74cdb.tar.gz
nutyx-pakxe-78b5f77bd60ec0ddb6c9d6700d7fc6a04bd74cdb.tar.bz2
nutyx-pakxe-78b5f77bd60ec0ddb6c9d6700d7fc6a04bd74cdb.tar.xz
nutyx-pakxe-78b5f77bd60ec0ddb6c9d6700d7fc6a04bd74cdb.zip
thunderbird 6.0.2-1 màj port
Diffstat (limited to 'extra/thunderbird/Pkgfile')
-rwxr-xr-xextra/thunderbird/Pkgfile21
1 files changed, 11 insertions, 10 deletions
diff --git a/extra/thunderbird/Pkgfile b/extra/thunderbird/Pkgfile
index 8eca38214..9fe82fcfb 100755
--- a/extra/thunderbird/Pkgfile
+++ b/extra/thunderbird/Pkgfile
@@ -7,20 +7,21 @@
name=thunderbird
-version=5.0
-release=2
+version=6.0.2
+release=1
-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)
+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.desktop thunderbird.png)
build() {
- cd $SRC/comm-miramar
+ cd $SRC/comm-release
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 LDFLAGS="-Wl,-rpath,/usr/lib/thunderbird-$version -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
@@ -32,9 +33,9 @@ build() {
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/
+ rm -rf $PKG/usr/lib/thunderbird-$version/dictionaries
+ ln -sf /usr/share/myspell/dicts $PKG/usr/lib/thunderbird-$version/dictionaries
+ rm -rf $PKG/usr/lib/thunderbird-devel-$version/
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