thunderbird-nightly moved to AUR4 and submodule

This commit is contained in:
Cedric Girard 2015-06-15 12:08:27 +02:00
parent 0c5f3f2dde
commit d5c876b66a
6 changed files with 5 additions and 89 deletions

4
.gitmodules vendored
View File

@ -38,3 +38,7 @@
path = pkgbuild/mmv
url = https://aur@aur4.archlinux.org/mmv.git
pushurl = ssh+git://aur@aur4.archlinux.org/mmv.git
[submodule "pkgbuild/thunderbird-nightly"]
path = pkgbuild/thunderbird-nightly
url = https://aur@aur4.archlinux.org/thunderbird-nightly.git
pushurl = ssh+git://aur@aur4.archlinux.org/thunderbird-nightly.git

@ -0,0 +1 @@
Subproject commit c8914eb92de1296207674dfd8c9953d3206f9470

View File

@ -1,51 +0,0 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: Det <nimetonmaili at gmail a-dot com>
# Based on [extra]'s thunderbird
pkgname=thunderbird-nightly
pkgver=41.0a1.20150518
_version=41.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' 'sqlite' 'startup-notification')
optdepends=('libcanberra: for sound support')
provides=("thunderbird=$_version")
install=$pkgname.install
source=($pkgname.desktop
vendor.js)
sha1sums=('9373c6b8e57692f62bac9f738351407ff27aa6f3'
'4243393daf5bd5a68644034001f512178cad09cc')
pkgver(){
FX_SRC="thunderbird-${_version}.en-US.linux-${CARCH}.txt"
FX_SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/${FX_SRC}"
msg "Getting last nightly date..."
curl -ORz ${FX_SRC} ${FX_SRC_URI}
echo "${_version}.$(head -n1 ${FX_SRC} | cut -c -8)"
}
package() {
FX_SRC="thunderbird-${_version}.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..."
curl -ORz ${FX_SRC} ${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"
}

View File

@ -1,13 +0,0 @@
[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

View File

@ -1,16 +0,0 @@
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
}

View File

@ -1,9 +0,0 @@
// 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);