[arch-commits] Commit in (js185 js185/repos js185/trunk js185/trunk/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Thu Nov 21 12:14:15 UTC 2013
Date: Thursday, November 21, 2013 @ 13:14:15
Author: bpiotrowski
Revision: 101264
extra2community: Moving js185 from extra to community
Added:
js185/
js185/repos/
js185/trunk/
js185/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: js185/trunk/PKGBUILD
===================================================================
--- js185/trunk/PKGBUILD (rev 0)
+++ js185/trunk/PKGBUILD 2013-11-21 12:14:15 UTC (rev 101264)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=js185
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="JavaScript interpreter and libraries (legacy)"
+arch=(i686 x86_64)
+url="https://developer.mozilla.org/En/SpiderMonkey/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:
Property changes on: js185/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list