mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
removed extra/js
This commit is contained in:
parent
83c1815430
commit
de9f1f1493
1 changed files with 0 additions and 40 deletions
|
@ -1,40 +0,0 @@
|
|||
# $Id$
|
||||
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - for those of us that build packages correctly, you actually need to unset the new CPPFLAGS
|
||||
|
||||
pkgname=js
|
||||
pkgver=17.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="JavaScript interpreter and libraries"
|
||||
arch=(i686 x86_64)
|
||||
url="https://developer.mozilla.org/En/SpiderMonkey/17"
|
||||
license=(MPL)
|
||||
depends=(nspr gcc-libs libffi readline)
|
||||
makedepends=(python2 zip)
|
||||
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:
|
Loading…
Reference in a new issue