Commits

Anonymous committed 5b68888

Rebuild thunderbird

Signed-off-by: Lee Pak Hong <hata.ph@gmail.com>

Comments (0)

Files changed (1)

var/vabs/thunderbird/src/thunderbird.SlackBuild

 
 NUMJOBS=${NUMJOBS:-" -j7 "}
 
-TARBALLVER=$(basename $(ls thunderbird-*.tar.bz2 | cut -d - -f 2 | rev | cut -f 3- -d . | rev) .source)
-
-# Figure out if this is a beta, or a release:
-if echo $TARBALLVER | grep -q b ; then # we think it is a beta
-  if bzgrep -q comm-beta/ $CWD/thunderbird-$TARBALLVER.source.tar.bz2 ; then
-    MOZVERS=${MOZVERS:-beta}
-  else # blindly assume it is a release
-    MOZVERS=${MOZVERS:-release}
-  fi
-else # release, no "b" in the tarball version:
-  if bzgrep -q comm-esr${MAJORVER}/ $CWD/thunderbird-$TARBALLVER.source.tar.bz2 ; then
-    # Looks like we get this sometimes even when the tarball isn't labeled as esr...
-    MOZVERS=${MOZVERS:-esr${MAJORVER}}
-  else
-    MOZVERS=${MOZVERS:-release}
-  fi
-fi
-
 if [ $UID != 0 ]; then
    echo "You are not authorized to run this script. Please login as root"
    exit 1
 rm -rf $PKG
 mkdir -p $PKG
 cd $TMP $PKG/usr/lib${LIBDIRSUFFIX}
-rm -rf comm-$MOZVERS
+rm -rf comm-esr17
 
 
 #EXTRACT SOURCES
 #-----------------------------------------------------
 
 
-cd $TMP/comm-$MOZVERS
+cd $TMP/comm-esr17
 
 # Put any Patches into a patches folder in the src dir
 #-----------------------------------------------------
 # https://developer.mozilla.org/en/Configuring_Build_Options#Building_with_an_objdir
 mkdir obj
 cd obj
-export MOZILLA_DIR=$TMP/comm-release/mozilla &&
+export MOZILLA_DIR=$TMP/comm-esr17/mozilla &&
 export MOZILLA_OFFICIAL="1" &&
 export BUILD_OFFICIAL="1" &&
 export MOZ_PHOENIX="1" &&
-$TMP/comm-release/configure --prefix=/usr \
+$TMP/comm-esr17/configure --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --infodir=/usr/info \
   --sysconfdir=/etc \
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.