# Maintainer: kj_sh604 pkgname=seamonkey-bin pkgver=2.53.18.2 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') makedepends=('autoconf2.13' 'cargo' 'cbindgen' 'clang' 'imake' 'llvm' 'mesa' 'nasm' 'python' 'unzip' 'yasm' 'zip') 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') sha512sums=('7fa4adbeb08b9aee60ef1c3b650a7f5984eef9ee51e6838730f7c81686fa499dedf6960839f1b8e890240cea2061ff9ddaf11dc03d0c55519f4c1b08651cba09') 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 < "$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: