blob: ea15c0764392ddaa228b168fad3715435c67bde4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Alex Talker ( alextalker at openmailbox dot org )
# Contributor: py_crash <agustin.ferrario@hotmail.com.ar>
# Based on kang's thunderbird-aurora
_name=thunderbird
_channel=earlybird
_milestone=54.0a2
_lang=ru
_release_year=2017
_release_month=04
_release_day=26
_release_time=$_release_year-$_release_month-$_release_day-00-40-08
_buildid=20170426004008
pkgname=$_name-$_channel-$_lang
pkgver=54.0a2.$_buildid
pkgrel=1
pkgdesc="Standalone Mail/News reader - Earlybird channel [ $_lang ]"
url="http://www.mozilla.org/${_name}/channel"
license=('MPL' 'GPL' 'LGPL')
arch=('i686' 'x86_64')
depends=('alsa-lib' 'cairo' 'dbus-glib' 'desktop-file-utils' 'fontconfig'
'freetype2' 'gtk3' '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')
replaces=("${_name}-aurora")
install="${pkgname}.install"
source=("${pkgname}.desktop")
_base_url="http://ftp.mozilla.org/pub/thunderbird/nightly/$_release_year/$_release_month/$_release_time-comm-aurora-l10n"
source_i686=("$_base_url/thunderbird-54.0a2.$_lang.linux-i686.tar.bz2")
source_x86_64=("$_base_url/thunderbird-54.0a2.$_lang.linux-x86_64.tar.bz2")
sha512sums=('d7c8c55e006b619cc9a78ab0ae0a89cbf5000b54a588dd4d14f7a961fff912069ea30b9c839121667549c086ffd21392abe3bade3abd1debdd5845d2da158538')
sha512sums_i686=('54ed6a313897b2eaa7f108533f806db3a71b1db4ca961ef8d7d333c6afefb3c10555211f81389dd8f70424714bb856ac5203004e4e3926866ba5b2fce8f089ae')
sha512sums_x86_64=('16b1a09ffde29ced29d56779b8e555cfda0a8229d31309f88342e7201efef948c61eaf6f59959070ffb881dd96c912ad643556fde5ee55f84b4e41a145d227b8')
pkgver() {
cd "${_name}"
echo "${_milestone}.$(cat platform.ini|grep BuildID|cut -d "=" -f2 )"
}
package() {
install -d "${pkgdir}"/{usr/bin,opt}
cp -a ${_name} "${pkgdir}/opt/${pkgname}"
ln -s /opt/${pkgname}/${_name} "${pkgdir}/usr/bin/${pkgname}"
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
install -Dm644 ${_name}/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}/dictionaries"
ln -sf /usr/share/hunspell "${pkgdir}/opt/${pkgname}/dictionaries"
}
|