[arch-commits] Commit in (5 files)

Ionut Biru ibiru at archlinux.org
Mon Jul 4 12:50:49 UTC 2011


    Date: Monday, July 4, 2011 @ 08:50:49
  Author: ibiru
Revision: 130213

replace spidermonkey with the latest js182 version

Added:
  js/
  js/repos/
  js/trunk/
  js/trunk/PKGBUILD
  js/trunk/js185-destdir.patch

---------------------+
 PKGBUILD            |   37 +++++++++++++++++++++++++++++++++++++
 js185-destdir.patch |   15 +++++++++++++++
 2 files changed, 52 insertions(+)

Added: js/trunk/PKGBUILD
===================================================================
--- js/trunk/PKGBUILD	                        (rev 0)
+++ js/trunk/PKGBUILD	2011-07-04 12:50:49 UTC (rev 130213)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+pkgname=js
+pkgver=1.8.5
+pkgrel=1
+pkgdesc="JavaScript interpreter and libraries"
+arch=(i686 x86_64)
+url="https://developer.mozilla.org/En/SpiderMonkey/1.8.5"
+license=('GPL2')
+depends=('nspr' 'gcc-libs')
+makedepends=('python2' 'zip')
+replaces=('spidermonkey')
+conflicts=('spidermonkey')
+source=(http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
+        js185-destdir.patch)
+md5sums=('a4574365938222adca0a6bd33329cb32'
+         '364834a8391888642c53d78c3a949d94')
+build() {
+  cd "$srcdir/$pkgname-$pkgver/js/src"
+  patch -Np0 -i $srcdir/js185-destdir.patch
+  ./configure --prefix=/usr --with-system-nspr \
+     --enable-threadsafe
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver/js/src"
+  make DESTDIR="$pkgdir" install
+
+  install -m 0755 shell/js ${pkgdir}/usr/bin
+
+  #cleanup
+  rm -f "${pkgdir}/usr/lib/libmozjs185-1.0.a"
+}
+
+# vim:set ts=2 sw=2 et:


Property changes on: js/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: js/trunk/js185-destdir.patch
===================================================================
--- js/trunk/js185-destdir.patch	                        (rev 0)
+++ js/trunk/js185-destdir.patch	2011-07-04 12:50:49 UTC (rev 130213)
@@ -0,0 +1,15 @@
+#https://bugzilla.mozilla.org/show_bug.cgi?id=628723
+
+--- Makefile.in.old	2011-04-10 04:21:19.918608008 -0700
++++ Makefile.in	2011-04-10 04:21:58.088607992 -0700
+@@ -888,8 +888,8 @@
+ ifeq (,$(HOST_BIN_SUFFIX))
+ 	mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER)
+ 	@[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER)
+-	ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER)
+-	ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER)
++	ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER)
++	ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER)
+ endif
+ endif
+ ifneq (,$(IMPORT_LIBRARY))




More information about the arch-commits mailing list