mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
removed community/nodejs
This commit is contained in:
parent
7fb429c000
commit
3864c34a00
2 changed files with 0 additions and 67 deletions
|
@ -1,65 +0,0 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Thomas Dziedzic < gostrc at gmail >
|
||||
# Contributor: James Campos <james.r.campos@gmail.com>
|
||||
# Contributor: BlackEagle < ike DOT devolder AT gmail DOT com >
|
||||
# Contributor: Dongsheng Cai <dongsheng at moodle dot com>
|
||||
# Contributor: Masutu Subric <masutu.arch at googlemail dot com>
|
||||
# Contributor: TIanyi Cui <tianyicui@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - set config and gyp flags
|
||||
|
||||
pkgname=nodejs
|
||||
pkgver=17.6.0
|
||||
pkgrel=1
|
||||
pkgdesc='Evented I/O for V8 javascript'
|
||||
arch=('x86_64')
|
||||
url='https://nodejs.org/'
|
||||
license=('MIT')
|
||||
options=(!lto)
|
||||
depends=('brotli' 'openssl' 'zlib' 'icu' 'libuv' 'libnghttp2' 'c-ares') # 'http-parser' 'v8')
|
||||
makedepends=('python' 'procps-ng')
|
||||
optdepends=('npm: nodejs package manager')
|
||||
source=("https://github.com/nodejs/node/archive/v$pkgver/nodejs-$pkgver.tar.gz")
|
||||
sha512sums=('1b98996a9cadc8a6a7373497cffae2497a26dc4c08bd2d616ba714da66510ff035aa83a57969cd89032620d3af08581816671e37b8cef6d730fab7149030b55b')
|
||||
|
||||
build() {
|
||||
cd node-$pkgver
|
||||
|
||||
[[ "$CARCH" == "armv7h" ]] && export CONFIG="--with-arm-float-abi=hard --with-arm-fpu=neon" && export GYPFLAGS="-Darm_thumb -Darm_float_abi=hard -Darm_version=7 -Darm_fpu=neon"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-intl=system-icu \
|
||||
--without-npm \
|
||||
--shared-openssl \
|
||||
--shared-zlib \
|
||||
--shared-libuv \
|
||||
--experimental-http-parser \
|
||||
--shared-nghttp2 \
|
||||
--shared-cares \
|
||||
--shared-brotli \
|
||||
${CONFIG}
|
||||
# --shared-cares \
|
||||
# --shared-v8
|
||||
# --shared-http-parser
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd node-$pkgver
|
||||
make test || :
|
||||
}
|
||||
|
||||
package() {
|
||||
cd node-$pkgver
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
install -D -m644 LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/nodejs/LICENSE
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
|
@ -1,2 +0,0 @@
|
|||
apm
|
||||
bash-language-server
|
Loading…
Reference in a new issue