diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-03-09 17:10:58 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-03-09 17:10:58 -0300 |
commit | 9de46d667642c4347414e7feb49582fd3538b008 (patch) | |
tree | 1ebf7e32cff0ab3d6340d73b87d32bd70295ce32 /libre/seamonkey-libre/PKGBUILD | |
parent | f078deb8b369742fb70acb7c0894af41cafd983b (diff) | |
parent | 0fda9e0a8501d54972674e1c9232c7f2a0160fac (diff) | |
download | abslibre-9de46d667642c4347414e7feb49582fd3538b008.tar.gz abslibre-9de46d667642c4347414e7feb49582fd3538b008.tar.bz2 abslibre-9de46d667642c4347414e7feb49582fd3538b008.zip |
Merge branch 'master' of ssh://vparabola/srv/git/projects/abslibre
Diffstat (limited to 'libre/seamonkey-libre/PKGBUILD')
-rw-r--r-- | libre/seamonkey-libre/PKGBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libre/seamonkey-libre/PKGBUILD b/libre/seamonkey-libre/PKGBUILD new file mode 100644 index 000000000..343f3e3ed --- /dev/null +++ b/libre/seamonkey-libre/PKGBUILD @@ -0,0 +1,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') +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 +} |