27 lines
665 B
Bash
27 lines
665 B
Bash
# Maintainer: Ícar N. S. <aur@icarns.xyz>
|
|
|
|
pkgname=yarn-berry
|
|
pkgver=4.0.2
|
|
pkgrel=1
|
|
pkgdesc='Fast, reliable, and secure dependency management - Active development trunk'
|
|
arch=(any)
|
|
provides=('yarn')
|
|
conflicts=('yarn')
|
|
url='https://yarnpkg.com/'
|
|
license=('BSD')
|
|
depends=('nodejs')
|
|
makedepends=('yarn')
|
|
source=("https://github.com/yarnpkg/berry/archive/refs/tags/@yarnpkg/cli/$pkgver.tar.gz")
|
|
sha256sums=('9d91a09048f4a714ef8f947f108ea177c6e3c8179ea5e8af996dd106fa2cb35e')
|
|
|
|
prepare() {
|
|
cd berry--yarnpkg-cli-${pkgver}
|
|
yarn build:cli
|
|
}
|
|
|
|
package() {
|
|
cd berry--yarnpkg-cli-${pkgver}
|
|
|
|
install -Dm755 packages/yarnpkg-cli/bundles/yarn.js "$pkgdir/usr/bin/yarn"
|
|
}
|