diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-08 13:57:49 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-08 13:57:49 -0300 |
commit | 2555d120024bfa1fcdbddef864fff96154492d79 (patch) | |
tree | 138b5625ad95e22470f5ebe1a2b101a1039c07d1 /libre/seamonkey-libre/PKGBUILD | |
parent | f8b272306d2229de2b62acc19782d067d01fa737 (diff) | |
download | abslibre-2555d120024bfa1fcdbddef864fff96154492d79.tar.gz abslibre-2555d120024bfa1fcdbddef864fff96154492d79.tar.bz2 abslibre-2555d120024bfa1fcdbddef864fff96154492d79.zip |
seamonkey-libre-2.0.12-1
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 +} |