diff options
author | Jannick Hemelhof | 2017-07-19 08:30:25 +0200 |
---|---|---|
committer | Jannick Hemelhof | 2017-07-19 08:30:25 +0200 |
commit | 9b15f01cfe1caffc01fb6d9ac51ca3f954c34443 (patch) | |
tree | 8fcd325878824a89a84db4c1c477ea9ab70de8e7 /PKGBUILD | |
parent | 9be39192ad82000bef7f578ab3579866785d437e (diff) | |
download | aur-9b15f01cfe1caffc01fb6d9ac51ca3f954c34443.tar.gz |
Move to yarn
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -7,13 +7,13 @@ pkgname=boostnote _pkgname=Boostnote pkgver=0.8.11 _pkgver=v.0.8.11 -pkgrel=1 +pkgrel=2 pkgdesc="Open source note-taking app for programmers" arch=('any') url="https://boostnote.io/" license=('GPL3') depends=('electron' 'nodejs') -makedepends=('npm' 'grunt-cli' 'git') +makedepends=('yarn' 'grunt-cli' 'git') source=( "${pkgname}-${pkgver}.tar.gz::https://github.com/BoostIO/"${_pkgname}"/archive/"${_pkgver}".tar.gz" @@ -37,11 +37,9 @@ prepare() { build() { cd "${_pkgname}-${_pkgver}" - npm install --no-optional + yarn --ignore-optional grunt compile - # Kind of silly way of avoiding an npm warning - npm uninstall eslint-config-standard - npm prune --production + yarn install --production --ignore-scripts --prefer-offline } package() { |