termux-packages/packages/yarn/build.sh
Butta bc35a55809 brotli: update from 1.0.7 to 1.0.9
kubectl: update from 1.18.8 to 1.19.0

yarn: update from 1.22.4 to 1.22.5
2020-08-27 23:40:28 +05:30

15 lines
599 B
Bash

TERMUX_PKG_HOMEPAGE=https://yarnpkg.com/
TERMUX_PKG_DESCRIPTION="Fast, reliable, and secure dependency management"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_VERSION=1.22.5
TERMUX_PKG_SRCURL=https://yarnpkg.com/downloads/${TERMUX_PKG_VERSION}/yarn-v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c664fb4692e4dfea750a37a533780834b40198c00cef4bbc5e8c14abab2ac141
TERMUX_PKG_DEPENDS="nodejs | nodejs-lts"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
cp -r . ${TERMUX_PREFIX}/share/yarn/
ln -f -s ../share/yarn/bin/yarn ${TERMUX_PREFIX}/bin/yarn
}