blob: 5e19ce57e2df681872fe940c7f4251c4335aae39 (
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
|
# Maintainer: sumt <sumt at sci dot fi>
pkgname=palemoon-bin
pkgver=25.7.3
pkgrel=1
pkgdesc="Open source web browser based on Firefox focusing on efficiency."
arch=('i686' 'x86_64')
url="http://linux.palemoon.org/"
license=('MPL' 'GPL' 'LGPL')
depends=('gtk2' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'alsa-lib')
optdepends=('palemoon-i18n-default: language pack for system active language'
'gstreamer0.10-base-plugins: vorbis decoding, ogg demuxing'
'gstreamer0.10-good-plugins: webm and mp4 demuxing'
'gstreamer0.10-bad-plugins: aac, vp8 and opus decoding'
'gstreamer0.10-ugly-plugins: h.264 and mp3 decoding'
'gstreamer0.10-ffmpeg: h.264 decoding'
'hunspell: spell checker and morphological analyzer'
'hyphen: library for hyphenation and justification')
provides=("palemoon=$pkgver")
conflicts=('palemoon')
install=palemoon.install
source=(palemoon.desktop)
source_i686=(http://linux.palemoon.org/files/$pkgver/palemoon-$pkgver.en-US.linux-i686.tar.bz2)
source_x86_64=(http://linux.palemoon.org/files/$pkgver/palemoon-$pkgver.en-US.linux-x86_64.tar.bz2)
sha1sums=('83ff22ff7a034efac31f1dd5f27ad0115a778743')
sha1sums_i686=('50976a513956005ce201624231e383e6611a9ad4')
sha1sums_x86_64=('5022f5796c7089a5865a545213c8e420e4063503')
package() {
install -d "$pkgdir"/usr/{bin,lib}
cp -r palemoon/ "$pkgdir/usr/lib/palemoon"
ln -s ../lib/palemoon/palemoon "$pkgdir/usr/bin/palemoon"
install -Dm644 palemoon.desktop "$pkgdir/usr/share/applications/palemoon.desktop"
# icons
install -Dm644 palemoon/browser/chrome/icons/default/default16.png \
"$pkgdir/usr/share/icons/hicolor/16x16/apps/palemoon.png"
install -Dm644 palemoon/browser/chrome/icons/default/default32.png \
"$pkgdir/usr/share/icons/hicolor/32x32/apps/palemoon.png"
install -Dm644 palemoon/browser/chrome/icons/default/default48.png \
"$pkgdir/usr/share/icons/hicolor/48x48/apps/palemoon.png"
install -Dm644 palemoon/browser/icons/mozicon128.png \
"$pkgdir/usr/share/icons/hicolor/128x128/apps/palemoon.png"
# use system-provided dictionaries
rm -rf "$pkgdir"/usr/lib/palemoon/{dictionaries,hyphenation}
ln -s /usr/share/hunspell "$pkgdir/usr/lib/palemoon/dictionaries"
ln -s /usr/share/hyphen "$pkgdir/usr/lib/palemoon/hyphenation"
# avoid duplicate binaries
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
ln -sf palemoon "$pkgdir/usr/lib/palemoon/palemoon-bin"
}
|