From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- community/nodejs/PKGBUILD | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 community/nodejs/PKGBUILD (limited to 'community/nodejs/PKGBUILD') diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD deleted file mode 100644 index 0a1713cb..00000000 --- a/community/nodejs/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# actually build a 32-bit version -eval "$( - declare -f build | \ - sed ' - s|./configure|./configure --dest-cpu x86|g - ' -)" - -# linker runs out of memory on 32-bit -eval "$( - declare -f build | \ - sed ' - 3 i LDFLAGS+=" -Wl,--no-keep-memory" - 3 i CFLAGS+=" -g1" - 3 i CXXFLAGS+=" -g1" - ' -)" - -# add -latomic where needed (i486) -if [ "$CARCH" = 'i486' ]; then - source+=('node-17.1.0-atomic.patch') - sha512sums+=('a2acca076dc0f65e17ffb5ac0bbf4dc9b8be845a400b66b5f83f5efbfca16e01ecc675a307eb0c28527874dea6464699f3969c3ee9a94226af568fb18feca331') - eval "$( - declare -f prepare | \ - sed ' - $i patch -Np1 -i "../node-17.1.0-atomic.patch" - ' - )" - eval "$( - declare -f build | \ - sed ' - 3 i LDFLAGS+=" -latomic" - ' - )" -fi -- cgit v1.2.3-70-g09d2