blob: c2bb029fb62c7040282acddc1b9960a0afc67a46 (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Maintainer: kj_sh604 <406hs_jk@proton.me>
pkgname=seamonkey-bin
pkgver=2.53.20
pkgrel=1
pkgdesc="SeaMonkey internet suite (binary version)"
arch=('x86_64')
url="http://www.seamonkey-project.org/"
license=(MPL-2.0)
depends=(
at-spi2-core
bash
cairo
dbus
dbus-glib
fontconfig
freetype2
gcc-libs
gdk-pixbuf2
glib2
glibc
gtk3
hunspell
libevent
libffi
libpulse
libvpx
libx11
libxcb
libxcomposite
libxdamage
libxext
libxfixes
libxrender
libxt
mime-types
nspr
nss
pango
pixman
sqlite
startup-notification
zlib
)
optdepends=(
'libnotify: Notification integration'
'networkmanager: Location detection via available WiFi networks'
'pulseaudio: Audio support'
'ffmpeg: H.264 video support'
)
source=("https://archive.seamonkey-project.org/releases/$pkgver/linux-x86_64/en-US/seamonkey-$pkgver.en-US.linux-x86_64.tar.bz2")
conflicts=('seamonkey')
provides=('seamonkey')
sha256sums=('d02d1e9409a2c3b864c6f6e96436da17aafef5cd75131e08c9e93f2e5276638c')
package() {
cd "$srcdir/seamonkey"
install -d "$pkgdir/opt/seamonkey"
cp -r * "$pkgdir/opt/seamonkey/"
install -d "$pkgdir/usr/bin"
ln -s /opt/seamonkey/seamonkey "$pkgdir/usr/bin/seamonkey"
install -d "$pkgdir/usr/share/applications"
cat <<EOF > "$pkgdir/usr/share/applications/seamonkey.desktop"
[Desktop Entry]
Name=SeaMonkey
GenericName=Internet Suite
Comment=Web browser, advanced email, newsgroup and feed client, IRC chat, and web development tools
Exec=/opt/seamonkey/seamonkey %u
Icon=seamonkey
Terminal=false
Type=Application
Categories=Network;WebBrowser;Email;News;Chat;
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;
EOF
for size in 16 22 24 32 48 64 128 256; do
install -d "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps"
install -m644 "chrome/icons/default/default${size}.png" "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/seamonkey.png"
done
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m644 license.txt "$pkgdir/usr/share/licenses/$pkgname/"
}
# vim:set ts=2 sw=2 et:
|