blob: cd5a8db3dee2dcb571a79b2bbdb2d659d50315b8 (
plain)
1 # Description: Thunderbird binary
2 # URL: https://www.thunderbird.net/
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4 # Depends on: gtk3 dbus-glib
5
6 name=thunderbird-bin
7 version=102.3.1
8 release=1
9 source=(https://ftp.mozilla.org/pub/thunderbird/releases/$version/linux-x86_64/en-US/thunderbird-$version.tar.bz2
10 policies.json thunderbird.desktop)
11
12 build() {
13 cd thunderbird
14
15 install -d $PKG/usr/{lib,bin}
16 mv $SRC/thunderbird $PKG/usr/lib/thunderbird
17 ln -s /usr/lib/thunderbird/thunderbird $PKG/usr/bin/thunderbird
18
19 # Disable autoupdate
20 install -d $PKG/usr/lib/thunderbird/distribution
21 install -m644 $SRC/policies.json $PKG/usr/lib/thunderbird/distribution/
22
23 install -d $PKG/etc/revdep.d
24 echo "/usr/lib/thunderbird" > $PKG/etc/revdep.d/thunderbird-bin
25
26 install -m 0755 -d $PKG/usr/share/pixmaps
27 ln -s /usr/lib/thunderbird/chrome/icons/default/default32.png \
28 $PKG/usr/share/pixmaps/thunderbird.png
29
30 install -m 0644 -D $SRC/thunderbird.desktop \
31 $PKG/usr/share/applications/thunderbird.desktop
32 }
|