blob: 21fc89d965bb0ac5cd7cba1feae27ba69816d5fc (
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
|
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=seamonkey-libre
pkgver=2.0.12
pkgrel=1
pkgdesc="SeaMonkey internet suite, with GNUZilla addons"
arch=('i686' 'x86_64' 'mips64el')
license=('MPL')
depends=('gtk2' 'mozilla-common' 'nss' 'libxt' 'gcc-libs' 'alsa-lib' 'dbus-glib')
makedepends=('zip' 'pkg-config' 'libgnomeui>=2.24.2' 'python2' 'libidl2' 'autoconf2.13')
replaces=('mozilla' 'seamonkey')
conflicts=('seamonkey')
provides=("seamonkey=$pkgver")
url="http://www.mozilla.org/projects/seamonkey"
source=(http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/${pkgver}/source/seamonkey-${pkgver}.source.tar.bz2
mozconfig
seamonkey.desktop
seamonkey-appversion.patch
seamonkey-2.0-lang.patch
python27.patch
gnuzilla-addons.patch)
md5sums=('681328d58a71d23e52ebe986a8eca3fd'
'4978159e4921892e34dcd7e9804f0437'
'448848e65efcbf1b2be2873b66b6cd48'
'a4275fc48361c80f676e96fdb28bd74e'
'25b6fe16ac24cd5c852213e5c1adb272'
'47e57931d65c71baafcf0e4f9160e876'
'178073b25aa41ffc601bcd9ddf1f69de')
build() {
cd "${srcdir}/comm-1.9.1"
patch -Np1 -i "${srcdir}/seamonkey-appversion.patch"
patch -Np1 -i "${srcdir}/seamonkey-2.0-lang.patch"
patch -Np0 -i "${srcdir}/python27.patch"
pushd suite/browser >/dev/null
patch -Np0 -i "${srcdir}/gnuzilla-addons.patch"
popd >/dev/null
cp "${srcdir}/mozconfig" .mozconfig
unset CFLAGS
unset CXXFLAGS
export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey-2.0"
make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
make -j1 DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/applications"
install -m755 -d "${pkgdir}/usr/share/pixmaps"
install -m644 "${srcdir}/comm-1.9.1/suite/branding/icons/gtk/seamonkey.png" \
"${pkgdir}/usr/share/pixmaps/"
install -m644 "${srcdir}/seamonkey.desktop" "${pkgdir}/usr/share/applications/"
rm -f "${pkgdir}/usr/lib/pkgconfig/"seamonkey-ns{s,pr}.pc
}
|