summaryrefslogtreecommitdiffstats
path: root/abs/extra/js17/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-16 15:47:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-16 15:47:21 (GMT)
commit6ade06defa8f9f5d12383ab7acfb57219a9413e2 (patch)
treed465471702e3a37215d5a79500a0729c4983fadf /abs/extra/js17/PKGBUILD
parentee41584c991fc2f8907ef138567a5cabc0a75d42 (diff)
downloadlinhes_pkgbuild-6ade06defa8f9f5d12383ab7acfb57219a9413e2.zip
linhes_pkgbuild-6ade06defa8f9f5d12383ab7acfb57219a9413e2.tar.gz
linhes_pkgbuild-6ade06defa8f9f5d12383ab7acfb57219a9413e2.tar.bz2
js17: inital inclusion: dep of polkit
Diffstat (limited to 'abs/extra/js17/PKGBUILD')
-rw-r--r--abs/extra/js17/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/extra/js17/PKGBUILD b/abs/extra/js17/PKGBUILD
new file mode 100644
index 0000000..980e8f0
--- /dev/null
+++ b/abs/extra/js17/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 183635 2013-04-25 18:13:54Z ioni $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=js17
+pkgver=17.0.0
+pkgrel=1
+pkgdesc="JavaScript interpreter and libraries (legacy)"
+arch=(i686 x86_64)
+url="https://developer.mozilla.org/En/SpiderMonkey/17"
+license=(MPL)
+depends=(nspr gcc-libs readline)
+makedepends=(python2 zip libffi)
+conflicts=('js<24.2.0')
+options=(!staticlibs)
+source=(http://ftp.mozilla.org/pub/mozilla.org/js/mozjs$pkgver.tar.gz)
+md5sums=('20b6f8f1140ef6e47daa3b16965c9202')
+
+build() {
+ unset CPPFLAGS
+ cd mozjs$pkgver/js/src
+ ./configure --prefix=/usr --with-system-nspr --with-system-ffi \
+ --enable-readline --enable-threadsafe
+ make
+}
+
+check() {
+ cd mozjs$pkgver/js/src
+ make check
+}
+
+package() {
+ cd mozjs$pkgver/js/src
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} +
+}
+
+# vim:set ts=2 sw=2 et: