2017-11-02 23:38:56 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://yarnpkg.com/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Fast, reliable, and secure dependency management"
|
|
|
|
TERMUX_PKG_DEPENDS="nodejs"
|
2018-03-08 14:27:22 +01:00
|
|
|
TERMUX_PKG_VERSION=1.5.1
|
|
|
|
TERMUX_PKG_SHA256=cd31657232cf48d57fdbff55f38bfa058d2fb4950450bd34af72dac796af4de1
|
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
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
TERMUX_PKG_MAINTAINER="Pierre Rudloff @Rudloff"
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
|
|
|
|
|
|
|
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
|
|
|
}
|