[arch-commits] Commit in js185/repos (4 files)

Allan McRae allan at archlinux.org
Sat Dec 5 17:40:34 UTC 2015


    Date: Saturday, December 5, 2015 @ 18:40:34
  Author: allan
Revision: 148583

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  js185/repos/community-staging-i686/
  js185/repos/community-staging-i686/PKGBUILD
    (from rev 148582, js185/trunk/PKGBUILD)
  js185/repos/community-staging-x86_64/
  js185/repos/community-staging-x86_64/PKGBUILD
    (from rev 148582, js185/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

Copied: js185/repos/community-staging-i686/PKGBUILD (from rev 148582, js185/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-05 17:40:34 UTC (rev 148583)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=js185
+pkgver=1.0.0
+pkgrel=3
+pkgdesc="JavaScript interpreter and libraries (legacy)"
+arch=(i686 x86_64)
+url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/1.8.5"
+license=(MPL)
+depends=(nspr gcc-libs)
+makedepends=(python2 zip)
+options=(!staticlibs)
+source=(http://ftp.mozilla.org/pub/mozilla.org/js/$pkgname-$pkgver.tar.gz)
+md5sums=('a4574365938222adca0a6bd33329cb32')
+
+build() {
+  cd js-1.8.5/js/src
+
+  # _FORTIFY_SOURCE causes configure error
+  unset CPPFLAGS
+
+  ./configure --prefix=/usr --with-system-nspr \
+     --enable-threadsafe
+  make
+}
+
+package() {
+  cd js-1.8.5/js/src
+  make DESTDIR="$pkgdir" install
+  install -Dm755 shell/js "$pkgdir/usr/bin/js"
+  find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} +
+
+  # Bad symlinks (absolute, including DESTDIR!)
+  cd "$pkgdir/usr/lib"
+  ln -sf libmozjs185.so.1.0.0 libmozjs185.so.1.0
+  ln -sf libmozjs185.so.1.0 libmozjs185.so
+}
+
+# vim:set ts=2 sw=2 et:

Copied: js185/repos/community-staging-x86_64/PKGBUILD (from rev 148582, js185/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-05 17:40:34 UTC (rev 148583)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=js185
+pkgver=1.0.0
+pkgrel=3
+pkgdesc="JavaScript interpreter and libraries (legacy)"
+arch=(i686 x86_64)
+url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/1.8.5"
+license=(MPL)
+depends=(nspr gcc-libs)
+makedepends=(python2 zip)
+options=(!staticlibs)
+source=(http://ftp.mozilla.org/pub/mozilla.org/js/$pkgname-$pkgver.tar.gz)
+md5sums=('a4574365938222adca0a6bd33329cb32')
+
+build() {
+  cd js-1.8.5/js/src
+
+  # _FORTIFY_SOURCE causes configure error
+  unset CPPFLAGS
+
+  ./configure --prefix=/usr --with-system-nspr \
+     --enable-threadsafe
+  make
+}
+
+package() {
+  cd js-1.8.5/js/src
+  make DESTDIR="$pkgdir" install
+  install -Dm755 shell/js "$pkgdir/usr/bin/js"
+  find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} +
+
+  # Bad symlinks (absolute, including DESTDIR!)
+  cd "$pkgdir/usr/lib"
+  ln -sf libmozjs185.so.1.0.0 libmozjs185.so.1.0
+  ln -sf libmozjs185.so.1.0 libmozjs185.so
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list