Date: Tuesday, April 30, 2013 @ 10:44:03 Author: foutrelis Revision: 89589
upgpkg: seamonkey 2.17.1-1 New upstream release. Modified: seamonkey/trunk/PKGBUILD ----------+ PKGBUILD | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-30 08:28:34 UTC (rev 89588) +++ PKGBUILD 2013-04-30 08:44:03 UTC (rev 89589) @@ -2,7 +2,7 @@ # Maintainer: Kyle Keen <[email protected]> pkgname=seamonkey -pkgver=2.17 +pkgver=2.17.1 pkgrel=1 pkgdesc="SeaMonkey internet suite" arch=('i686' 'x86_64') @@ -15,25 +15,32 @@ mozconfig seamonkey.desktop seamonkey-2.0-lang.patch) -md5sums=('931f027dd6e2aac3e36e788f6d86979b' +md5sums=('a95013068da38fe3f8db30e0ebe6f2f5' 'dabc8f517fbff67b8599064bedd32606' '6119a2254716752c9d08e366f8d4c048' '25b6fe16ac24cd5c852213e5c1adb272') -build() { +prepare() { cd comm-release cp ../mozconfig .mozconfig patch -Np1 -i ../seamonkey-2.0-lang.patch - export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver" - export MOZ_MAKE_FLAGS="$MAKEFLAGS" - unset MAKEFLAGS - # Don't exit with error when some libs are missing which we have in # system. sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ -i suite/installer/Makefile.in + # configure script misdetects the preprocessor without an optimization level + sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure +} + +build() { + cd comm-release + + export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver" + export MOZ_MAKE_FLAGS="$MAKEFLAGS" + unset MAKEFLAGS + make -j1 -f client.mk build }
