feat(pkg): add yarn-berry
This commit is contained in:
parent
bb898e421e
commit
baef4b9a93
@ -1,4 +1,4 @@
|
|||||||
pipeline:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: archlinux:base-devel
|
image: archlinux:base-devel
|
||||||
pull: true
|
pull: true
|
||||||
|
15
yarn-berry/.SRCINFO
Normal file
15
yarn-berry/.SRCINFO
Normal 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
26
yarn-berry/PKGBUILD
Normal 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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user