feat(pkg): add yarn-berry
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline is pending
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-11-26 12:31:28 +01:00
parent bb898e421e
commit baef4b9a93
3 changed files with 42 additions and 1 deletions

View File

@ -1,4 +1,4 @@
pipeline:
steps:
build:
image: archlinux:base-devel
pull: true

15
yarn-berry/.SRCINFO Normal file
View File

@ -0,0 +1,15 @@
pkgbase = yarn-berry
pkgdesc = Fast, reliable, and secure dependency management - Active development trunk
pkgver = 4.0.2
pkgrel = 1
url = https://yarnpkg.com/
arch = any
license = BSD
makedepends = yarn
depends = nodejs
provides = yarn
conflicts = yarn
source = https://github.com/yarnpkg/berry/archive/refs/tags/@yarnpkg/cli/4.0.2.tar.gz
sha256sums = 9d91a09048f4a714ef8f947f108ea177c6e3c8179ea5e8af996dd106fa2cb35e
pkgname = yarn-berry

26
yarn-berry/PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
# 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"
}