summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2021-11-16 05:09:19 +0300
committerYurii Kolesnykov2021-11-16 05:09:19 +0300
commit33b944edbf7f6ac968ded254a8ea52d25cbb5d22 (patch)
tree7a1a6a0070fcc153e2ea7349dc1c4f8afd9e7f00
parenta076396167912440ce79bc78c4da6e519439681b (diff)
downloadaur-33b944edbf7f6ac968ded254a8ea52d25cbb5d22.tar.gz
95.0b3
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD89
2 files changed, 46 insertions, 61 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48e9e3b07e25..16ea285e26b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = thunderbird-localized-beta-bin
pkgdesc = Standalone mail and news reader from mozilla.org — localized beta version
- pkgver = 95.0b1
+ pkgver = 95.0b3
pkgrel = 1
url = https://www.mozilla.org/thunderbird
install = thunderbird-localized-beta-bin.install
@@ -24,20 +24,20 @@ pkgbase = thunderbird-localized-beta-bin
optdepends = hunspell: Spell checking
optdepends = hyphen: Hyphenation
optdepends = libcanberra: Sound support
- provides = thunderbird=95.0b1
- provides = thunderbird-beta=95.0b1
+ provides = thunderbird=95.0b3
+ provides = thunderbird-beta=95.0b3
conflicts = thunderbird-beta
conflicts = thunderbird-beta-bin
source = thunderbird-localized-beta-bin.desktop
validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353
sha256sums = 4890cc98cc21f3f2dbf4134627217b11167c73954a549fbe7ca0bbc8ca79b2d4
- source_i686 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b1/linux-i686/en-US/thunderbird-95.0b1.tar.bz2
- source_i686 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b1/linux-i686/en-US/thunderbird-95.0b1.tar.bz2.asc
- sha256sums_i686 = 91a30933efc9ed7a5ccca5e7f9a1c63ad8ed001eb3109d035e915cf1a1e1ee06
+ source_i686 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b3/linux-i686/en-US/thunderbird-95.0b3.tar.bz2
+ source_i686 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b3/linux-i686/en-US/thunderbird-95.0b3.tar.bz2.asc
+ sha256sums_i686 = 4083795a36668d70a9524674e9ace01a92faaf1d614fc347c243a72bcae699a1
sha256sums_i686 = SKIP
- source_x86_64 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b1/linux-x86_64/en-US/thunderbird-95.0b1.tar.bz2
- source_x86_64 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b1/linux-x86_64/en-US/thunderbird-95.0b1.tar.bz2.asc
- sha256sums_x86_64 = 18218837aa4d468e7e9a41cab842f0be2e75061cb41da4b8a9462eddb5234b59
+ source_x86_64 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b3/linux-x86_64/en-US/thunderbird-95.0b3.tar.bz2
+ source_x86_64 = https://ftp.mozilla.org/pub/thunderbird/releases/95.0b3/linux-x86_64/en-US/thunderbird-95.0b3.tar.bz2.asc
+ sha256sums_x86_64 = b3df499630f7532f7873234e6373deff124dba501068bc947c7c7aa73cef294e
sha256sums_x86_64 = SKIP
pkgname = thunderbird-localized-beta-bin
diff --git a/PKGBUILD b/PKGBUILD
index d85e935a8ebd..59836693912b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,17 +9,28 @@
#
pkgname=thunderbird-localized-beta-bin
-pkgver=95.0b1
+_pkgname=thunderbird-beta
+pkgver=95.0b3
pkgrel=1
pkgdesc='Standalone mail and news reader from mozilla.org — localized beta version'
arch=('i686' 'x86_64')
url="https://www.mozilla.org/thunderbird"
license=('GPL' 'LGPL' 'MPL')
-depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib alsa-lib
- nss hunspell sqlite ttf-font icu)
-optdepends=('hunspell: Spell checking'
- 'hyphen: Hyphenation'
- 'libcanberra: Sound support')
+depends=(
+ glibc gtk3 libgdk-3.so libgtk-3.so mime-types dbus libdbus-1.so dbus-glib
+ alsa-lib nss hunspell sqlite ttf-font libvpx libvpx.so zlib bzip2 libbz2.so
+ botan libwebp libwebp.so libwebpdemux.so libevent libjpeg-turbo libffi
+ libffi.so nspr gcc-libs libx11 libxrender libxfixes libxext libxcomposite
+ libxdamage pango libpango-1.0.so cairo gdk-pixbuf2 icu libicui18n.so
+ libicuuc.so freetype2 libfreetype.so fontconfig libfontconfig.so glib2
+ libglib-2.0.so pixman libpixman-1.so gnupg
+)
+optdepends=(
+ 'hyphen: Hyphenation'
+ 'libcanberra: Sound support'
+ 'libotr: OTR support for active one-to-one chats'
+ 'libnotify: Notification integration'
+)
provides=("thunderbird=$pkgver" "thunderbird-beta=$pkgver")
conflicts=("thunderbird-beta" "thunderbird-beta-bin")
install=$pkgname.install
@@ -31,7 +42,7 @@ _archstr=$([[ "${CARCH}" == 'x86_64' ]] && echo -n "${_arch64}" || echo -n "${_a
_localemoz() {
#
- # Checking if a `tor-browser` package exists for current locale; a different language can be
+ # Checking if a `thunderbird` package exists for current locale; a different language can be
# chosen by giving a `THUNDERBIRD_PKGLANG` environment variable to `makepkg`, for instance:
#
# THUNDERBIRD_PKGLANG='en-US' makepkg
@@ -73,9 +84,9 @@ source=("${pkgname}.desktop")
# with each release, everything is done automatically! Leave them like this! #
###############################################################################
sha256sums=('4890cc98cc21f3f2dbf4134627217b11167c73954a549fbe7ca0bbc8ca79b2d4')
-sha256sums_i686=($(_dist_checksum "${_arch32}")
+sha256sums_i686=("$(_dist_checksum "${_arch32}")"
'SKIP')
-sha256sums_x86_64=($(_dist_checksum "${_arch64}")
+sha256sums_x86_64=("$(_dist_checksum "${_arch64}")"
'SKIP')
prepare() {
@@ -99,13 +110,6 @@ prepare() {
echo -e "\n ${_COL_LIGHTGREY_}THUNDERBIRD_PKGLANG='en-US' makepkg${_COL_DEFAULT_}\n"
fi
- # we search and replace using sed with / as delimiter below so don't allow slashes in these vars.
- # makepkg already enforces that there're no slashes in ${pkgname}, so we don't check that again here.
- if [[ ${pkgver} = */* || ${_language} = */* || ${pkgdesc} = */* ]]; then
- error '${pkgver}, ${_language} and ${pkgdesc} for this package are not allowed to contain /' >&2
- return 1
- fi
-
}
package() {
@@ -117,20 +121,18 @@ package() {
msg2 "Moving stuff in place..."
# Install
- cp -r thunderbird/ "$pkgdir"/opt/thunderbird-beta
+ cp -r thunderbird/ "${pkgdir}/opt/${_pkgname}"
# Launchers
- ln -s /opt/thunderbird-beta/thunderbird "$pkgdir"/usr/bin/thunderbird-beta
+ ln -s "/opt/${_pkgname}/thunderbird" "${pkgdir}/usr/bin/${_pkgname}"
# breaks application as of 68.0b1
- # ln -sf thunderbird "$pkgdir"/opt/thunderbird-beta/thunderbird-bin
+ # ln -sf thunderbird "$pkgdir/opt/${_pkgname}/thunderbird-bin"
- _vendorjs="$pkgdir/opt/thunderbird-beta/defaults/preferences/vendor.js"
- install -Dm644 /dev/stdin "$_vendorjs" <<END
+ # vendor.js
+ _vendorjs="$pkgdir/opt/${_pkgname}/defaults/preferences/vendor.js"
+ install -Dm644 /dev/stdin "${_vendorjs}" <<END
// Use LANG environment variable to choose locale
-pref("intl.locale.requested", "");
-
-// Use system-provided dictionaries
-pref("spellchecker.dictionary_path", "/usr/share/hunspell");
+pref("intl.locale.matchOS", true);
// Disable default mailer checking.
pref("mail.shell.checkDefaultMail", false);
@@ -140,37 +142,20 @@ pref("extensions.autoDisableScopes", 11);
pref("extensions.shownSelectionUI", true);
END
- _distini="$pkgdir/opt/thunderbird-beta/distribution/distribution.ini"
- install -Dm644 /dev/stdin "$_distini" <<END
-[Global]
-id=archlinux
-version=1.0
-about=Mozilla Thunderbird for Arch Linux
+ # Desktop
+ install -m644 "${pkgname}.desktop" "${pkgdir}"/usr/share/applications/
-[Preferences]
-app.distributor=archlinux
-app.distributor.channel=$pkgname
-END
-
- for i in 16 22 24 32 48 64 128 256; do
- install -d "$pkgdir"/usr/share/icons/hicolor/${i}x${i}/apps/
- ln -s /opt/thunderbird-beta/chrome/icons/default/default$i.png \
- "$pkgdir"/usr/share/icons/hicolor/${i}x${i}/apps/thunderbird-beta.png
+ # Icons
+ for i in 16 22 24 32 48 256; do
+ install -d "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/
+ ln -s "/opt/${_pkgname}/chrome/icons/default/default$i.png" \
+ "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/${_pkgname}.png"
done
-
- install -Dm644 $srcdir/$pkgname.desktop \
- "$pkgdir/usr/share/applications"
# Use system-provided dictionaries
- ln -Ts /usr/share/hunspell "$pkgdir"/opt/thunderbird-beta/dictionaries
- ln -Ts /usr/share/hyphen "$pkgdir"/opt/thunderbird-beta/hyphenation
-
- # Install a wrapper to avoid confusion about binary path
- install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
-#!/bin/sh
-exec /opt/thunderbird-beta/thunderbird "\$@"
-END
+ ln -Ts /usr/share/hunspell "${pkgdir}/opt/${_pkgname}/dictionaries"
+ ln -Ts /usr/share/hyphen "${pkgdir}/opt/${_pkgname}/hyphenation"
# Use system certificates
- ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/thunderbird-beta/libnssckbi.so
+ ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/$_pkgname/libnssckbi.so
}