termux-packages/packages/yarn/build.sh

16 lines
645 B
Bash
Raw Normal View History

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"
2018-05-25 12:39:12 +02:00
TERMUX_PKG_MAINTAINER="Pierre Rudloff @Rudloff"
TERMUX_PKG_DEPENDS="nodejs | nodejs-lts"
2019-05-11 23:20:45 +02:00
TERMUX_PKG_VERSION=1.16.0
TERMUX_PKG_SHA256=df202627d9a70cf09ef2fb11cb298cb619db1b958590959d6f6e571b50656029
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_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
}