#!/bin/sh -e
# Python 3 support (but not > 3.5).
sed -i -e 's/(3, 5)/(3, 8)/' configure
# Fix broken npm.
sed -i -e "s/: '10/: '13/g" deps/npm/lib/utils/unsupported.js
./configure \
--prefix=/usr
make
make DESTDIR="$1" install