aur/yarn-berry/PKGBUILD
nyyu baef4b9a93
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
feat(pkg): add yarn-berry
2023-11-26 12:31:28 +01:00

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"
}