2017-11-02 23:38:56 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://yarnpkg.com/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Fast, reliable, and secure dependency management"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-11-22 21:52:05 +01:00
|
|
|
TERMUX_PKG_VERSION=1.22.10
|
2017-11-02 23:38:56 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://yarnpkg.com/downloads/${TERMUX_PKG_VERSION}/yarn-v${TERMUX_PKG_VERSION}.tar.gz
|
2020-11-22 21:52:05 +01:00
|
|
|
TERMUX_PKG_SHA256=7e433d4a77e2c79e6a7ae4866782608a8e8bcad3ec6783580577c59538381a6e
|
2019-06-16 17:31:20 +02:00
|
|
|
TERMUX_PKG_DEPENDS="nodejs | nodejs-lts"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2017-11-02 23:38:56 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2017-11-02 23:54:26 +01:00
|
|
|
cp -r . ${TERMUX_PREFIX}/share/yarn/
|
|
|
|
ln -f -s ../share/yarn/bin/yarn ${TERMUX_PREFIX}/bin/yarn
|
2017-11-02 23:38:56 +01:00
|
|
|
}
|