thunderbird nightly adopted, updated and made closer to firefox-nightly
This commit is contained in:
parent
d49ae78184
commit
e953f5e478
4 changed files with 79 additions and 0 deletions
41
pkgbuild/thunderbird-nightly/PKGBUILD
Normal file
41
pkgbuild/thunderbird-nightly/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
# Contributor: Det <nimetonmaili at gmail a-dot com>
|
||||||
|
# Based on [extra]'s thunderbird
|
||||||
|
|
||||||
|
pkgname=thunderbird-nightly
|
||||||
|
pkgver=15.0a1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Standalone Mail/News reader - Nightly build"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
license=('MPL' 'GPL' 'LGPL')
|
||||||
|
url="http://www.mozilla.org/thunderbird"
|
||||||
|
depends=('alsa-lib' 'cairo' 'dbus-glib' 'desktop-file-utils' 'fontconfig' 'freetype2' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libjpeg' 'libmng' 'libpng' 'libvpx' 'libxt' 'mozilla-common' 'nspr' 'nss' 'shared-mime-info' 'sqlite3' 'startup-notification')
|
||||||
|
optdepends=('libcanberra: for sound support')
|
||||||
|
provides=("thunderbird=$pkgver")
|
||||||
|
install=$pkgname.install
|
||||||
|
source=($pkgname.desktop
|
||||||
|
vendor.js)
|
||||||
|
sha1sums=('9373c6b8e57692f62bac9f738351407ff27aa6f3'
|
||||||
|
'4243393daf5bd5a68644034001f512178cad09cc')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
FX_SRC="thunderbird-${pkgver}.en-US.linux-${CARCH}.tar.bz2"
|
||||||
|
FX_SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/${FX_SRC}"
|
||||||
|
|
||||||
|
msg "Downloading..."
|
||||||
|
wget -N ${FX_SRC_URI}
|
||||||
|
msg "Extracting..."
|
||||||
|
bsdtar -x -f ${FX_SRC}
|
||||||
|
msg "Packaging..."
|
||||||
|
|
||||||
|
install -d "$pkgdir"/{usr/bin,opt}
|
||||||
|
cp -a thunderbird "$pkgdir/opt/$pkgname-$pkgver"
|
||||||
|
cp vendor.js "$pkgdir/opt/$pkgname-$pkgver/defaults/pref/"
|
||||||
|
ln -s /opt/$pkgname-$pkgver/thunderbird "$pkgdir/usr/bin/$pkgname"
|
||||||
|
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
||||||
|
install -Dm644 thunderbird/chrome/icons/default/default${i/x*/}.png "$pkgdir/usr/share/icons/hicolor/$i/apps/$pkgname.png"
|
||||||
|
done
|
||||||
|
install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||||
|
rm -rf "$pkgdir/opt/$pkgname-$pkgver/dictionaries/"
|
||||||
|
ln -sf /usr/share/hunspell/ "$pkgdir/opt/$pkgname-$pkgver/dictionaries"
|
||||||
|
}
|
13
pkgbuild/thunderbird-nightly/thunderbird-nightly.desktop
Normal file
13
pkgbuild/thunderbird-nightly/thunderbird-nightly.desktop
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=Thunderbird (Nightly)
|
||||||
|
Comment=Mail & News Reader (Nightly)
|
||||||
|
GenericName=Mail Client & News Reader (Nightly)
|
||||||
|
Exec=thunderbird-nightly %u
|
||||||
|
TryExec=thunderbird-nightly
|
||||||
|
Icon=thunderbird-nightly
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Network;Email;
|
||||||
|
MimeType=message/rfc822;x-scheme-handler/mailto;
|
||||||
|
StartupNotify=true
|
16
pkgbuild/thunderbird-nightly/thunderbird-nightly.install
Normal file
16
pkgbuild/thunderbird-nightly/thunderbird-nightly.install
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
post_install() {
|
||||||
|
update-desktop-database -q
|
||||||
|
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||||
|
echo ""
|
||||||
|
echo "Note: the binary is called 'thunderbird-nightly'"
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
update-desktop-database -q
|
||||||
|
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_upgrade
|
||||||
|
}
|
9
pkgbuild/thunderbird-nightly/vendor.js
Normal file
9
pkgbuild/thunderbird-nightly/vendor.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
// Use LANG environment variable to choose locale
|
||||||
|
pref("intl.locale.matchOS", true);
|
||||||
|
|
||||||
|
// Disable default mailer checking.
|
||||||
|
pref("mail.shell.checkDefaultMail", false);
|
||||||
|
|
||||||
|
// Don't disable our bundled extensions in the application directory
|
||||||
|
pref("extensions.autoDisableScopes", 11);
|
||||||
|
pref("extensions.shownSelectionUI", true);
|
Loading…
Reference in a new issue