summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2017-01-07 17:58:50 +0200
committerYurii Kolesnykov2017-01-07 17:58:50 +0200
commitb0d4219863e15a41ead738b53ea45288a569b3f3 (patch)
tree3c43ac9c31ab896c7527c93d69c388d74c46cbe5
downloadaur-b0d4219863e15a41ead738b53ea45288a569b3f3.tar.gz
init
-rw-r--r--.SRCINFO47
-rw-r--r--PKGBUILD63
-rw-r--r--thunderbird-beta-bin-safe.desktop11
-rw-r--r--thunderbird-beta-bin.desktop11
-rw-r--r--thunderbird-beta-bin.install19
-rw-r--r--vendor.js9
6 files changed, 160 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..b0a9d69655a1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,47 @@
+pkgbase = thunderbird-beta-bin-ru
+ pkgdesc = Standalone Mail/News reader - Bleeding edge binary version
+ pkgver = 51.0b1
+ pkgrel = 1
+ url = https://www.mozilla.org/thunderbird
+ install = thunderbird-beta-bin.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ license = MPL
+ depends = alsa-lib
+ depends = cairo
+ depends = dbus-glib
+ depends = desktop-file-utils
+ depends = fontconfig
+ depends = freetype2
+ depends = gtk-update-icon-cache
+ depends = gtk2
+ depends = hicolor-icon-theme
+ depends = libnotify
+ depends = libpng
+ depends = libvpx
+ depends = libxt
+ depends = mime-types
+ depends = nss
+ depends = pixman
+ depends = sqlite
+ depends = startup-notification
+ optdepends = libcanberra: for sound support
+ provides = thunderbird=51.0b1
+ conflicts = thunderbird-beta
+ conflicts = thunderbird-beta-bin
+ conflicts = thunderbird-beta-bin-uk
+ source = thunderbird-beta-bin.desktop
+ source = thunderbird-beta-bin-safe.desktop
+ source = vendor.js
+ sha512sums = fc83c23f67cc5d399bc655d2486936db3ab500bafe399a905a17a0b0f63ad9befb782fc9c07d467a65a80a00e3ce984700ec3cf60e4cb3e1b29b20954c6fa775
+ sha512sums = 3cf4194575041bbe344d6cd17e473eb78caf7e2e1aa8b1309151f7e4677c33571014ba6d7aba267398c3ba69c825c64363272b82b15f7dbb8ae5e3e825f439b7
+ sha512sums = aeb444784732267f1b1e87e6084a776f82a1912c4c2637d2cf1de1c135dd9d41d2ef66d2bd3f9cbd3a79fad32d17ea6e2968ba644d5f887cb66ba6c09a2098f5
+ source_i686 = https://ftp.mozilla.org/pub/thunderbird/candidates/51.0b1-candidates/build5/linux-i686/ru/thunderbird-51.0b1.tar.bz2
+ sha512sums_i686 = 92316affeaa518d58c8e92d3a57a54d9c089eb0202bb09c6fcb60d98b91d9be8079933b82f7ecf86088e3f9e0270b59e6529b2a35bf72f86e54e554910bbc2a5
+ source_x86_64 = https://ftp.mozilla.org/pub/thunderbird/candidates/51.0b1-candidates/build5/linux-x86_64/ru/thunderbird-51.0b1.tar.bz2
+ sha512sums_x86_64 = 92316affeaa518d58c8e92d3a57a54d9c089eb0202bb09c6fcb60d98b91d9be8079933b82f7ecf86088e3f9e0270b59e6529b2a35bf72f86e54e554910bbc2a5
+
+pkgname = thunderbird-beta-bin-ru
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..7824ac1c50ce
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,63 @@
+# Maintainer: Yurii Kolesnykov <yurikoles@gmail.com>
+# Based on Det <nimetonmaili g-mail> thunderbird-beta-bin
+
+pkgname=thunderbird-beta-bin-ru
+_pkgname=thunderbird-beta
+_pkgname_no_lang=thunderbird-beta-bin
+pkgver=51.0b1
+_major=${pkgver/rc*}
+_build=5
+pkgrel=1
+_lang=ru
+pkgdesc="Standalone Mail/News reader - Bleeding edge binary version"
+arch=('i686' 'x86_64')
+url="https://www.mozilla.org/thunderbird"
+license=('GPL' 'LGPL' 'MPL')
+depends=('alsa-lib' 'cairo' 'dbus-glib' 'desktop-file-utils' 'fontconfig' 'freetype2' 'gtk-update-icon-cache'
+ 'gtk2' 'hicolor-icon-theme' 'libnotify' 'libpng' 'libvpx' 'libxt' 'mime-types' 'nss' 'pixman'
+ 'sqlite' 'startup-notification')
+optdepends=('libcanberra: for sound support')
+provides=("thunderbird=$pkgver")
+conflicts=('thunderbird-beta' 'thunderbird-beta-bin' 'thunderbird-beta-bin-uk')
+install=$_pkgname_no_lang.install
+source=("$_pkgname_no_lang.desktop"
+ "$_pkgname_no_lang-safe.desktop"
+ 'vendor.js')
+source_i686=("https://ftp.mozilla.org/pub/thunderbird/releases/$pkgver/linux-i686/$_lang/thunderbird-$pkgver.tar.bz2")
+source_x86_64=("https://ftp.mozilla.org/pub/thunderbird/releases/$pkgver/linux-x86_64/$_lang/thunderbird-$pkgver.tar.bz2")
+sha512sums=('fc83c23f67cc5d399bc655d2486936db3ab500bafe399a905a17a0b0f63ad9befb782fc9c07d467a65a80a00e3ce984700ec3cf60e4cb3e1b29b20954c6fa775'
+ '3cf4194575041bbe344d6cd17e473eb78caf7e2e1aa8b1309151f7e4677c33571014ba6d7aba267398c3ba69c825c64363272b82b15f7dbb8ae5e3e825f439b7'
+ 'aeb444784732267f1b1e87e6084a776f82a1912c4c2637d2cf1de1c135dd9d41d2ef66d2bd3f9cbd3a79fad32d17ea6e2968ba644d5f887cb66ba6c09a2098f5')
+sha512sums_i686=('92316affeaa518d58c8e92d3a57a54d9c089eb0202bb09c6fcb60d98b91d9be8079933b82f7ecf86088e3f9e0270b59e6529b2a35bf72f86e54e554910bbc2a5')
+sha512sums_x86_64=('92316affeaa518d58c8e92d3a57a54d9c089eb0202bb09c6fcb60d98b91d9be8079933b82f7ecf86088e3f9e0270b59e6529b2a35bf72f86e54e554910bbc2a5')
+# RC
+if [[ $_build = ? ]]; then
+ source_i686=("https://ftp.mozilla.org/pub/thunderbird/candidates/$_major-candidates/build$_build/linux-i686/$_lang/thunderbird-$_major.tar.bz2")
+ source_x86_64=("https://ftp.mozilla.org/pub/thunderbird/candidates/$_major-candidates/build$_build/linux-x86_64/$_lang/thunderbird-$_major.tar.bz2")
+fi
+
+package() {
+ # Create directories
+ msg2 "Creating directory structure..."
+ install -d "$pkgdir"/usr/bin
+ install -d "$pkgdir"/usr/share/applications
+ install -d "$pkgdir"/opt
+
+ msg2 "Moving stuff in place..."
+ # Install
+ cp -r thunderbird/ "$pkgdir"/opt/$_pkgname
+ install -m644 vendor.js "$pkgdir"/opt/$_pkgname/defaults/pref/
+
+ # /usr/bin symlink
+ ln -s /opt/$_pkgname/thunderbird "$pkgdir"/usr/bin/$_pkgname
+
+ # Desktops
+ install -m644 *.desktop "$pkgdir"/usr/share/applications/
+
+ # Icons
+ for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
+ install -d "$pkgdir"/usr/share/icons/hicolor/$i/apps/
+ ln -s /opt/$_pkgname/chrome/icons/default/default${i/x*}.png \
+ "$pkgdir"/usr/share/icons/hicolor/$i/apps/$_pkgname.png
+ done
+}
diff --git a/thunderbird-beta-bin-safe.desktop b/thunderbird-beta-bin-safe.desktop
new file mode 100644
index 000000000000..3fe2dd4a1b20
--- /dev/null
+++ b/thunderbird-beta-bin-safe.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Thunderbird - Safe Mode (Beta)
+Comment=Read Mail & News in Safe Mode (Beta)
+GenericName=Mail Client & News Reader - Safe Mode (Beta)
+Exec=thunderbird-beta -safe-mode %u
+Icon=thunderbird-beta
+Terminal=false
+Type=Application
+Categories=Network;Email;
+MimeType=message/rfc822;x-scheme-handler/mailto;
+StartupNotify=true \ No newline at end of file
diff --git a/thunderbird-beta-bin.desktop b/thunderbird-beta-bin.desktop
new file mode 100644
index 000000000000..da552c3bfafd
--- /dev/null
+++ b/thunderbird-beta-bin.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Thunderbird (Beta)
+Comment=Read Mail & News (Beta)
+GenericName=Mail Client & News Reader (Beta)
+Exec=thunderbird-beta %u
+Icon=thunderbird-beta
+Terminal=false
+Type=Application
+Categories=Network;Email;
+MimeType=message/rfc822;x-scheme-handler/mailto;
+StartupNotify=true \ No newline at end of file
diff --git a/thunderbird-beta-bin.install b/thunderbird-beta-bin.install
new file mode 100644
index 000000000000..b8cde1a0797b
--- /dev/null
+++ b/thunderbird-beta-bin.install
@@ -0,0 +1,19 @@
+# Colored makepkg-like functions
+msg_blue() {
+ printf "${blue}==>${bold} $1${all_off}\n"
+}
+
+note() {
+ printf "${blue}==>${yellow} NOTE$1:${bold} $2${all_off}\n"
+}
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install() {
+ _update
+ note 1 "This package installs side-by-side with [extra]'s thunderbird."
+ note 2 "The launcher is called: 'thunderbird-beta'."
+}
diff --git a/vendor.js b/vendor.js
new file mode 100644
index 000000000000..170b505a8dcc
--- /dev/null
+++ b/vendor.js
@@ -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);