Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lygaret
Created February 21, 2017 19:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lygaret/f080d12717e50e671a32f3498d1be59f to your computer and use it in GitHub Desktop.
Save lygaret/f080d12717e50e671a32f3498d1be59f to your computer and use it in GitHub Desktop.
PKGBUILD for installing npm2arch from @MazeChaZer's updated dependencies branch
_npmname=npm2arch
_npmver=0.1.19
pkgname=nodejs-npm2arch-updated-deps-git # All lowercase
pkgver=0.1.19
pkgrel=2
pkgdesc="Convert NPM package to a PKGBUILD for ArchLinux, patched for recent dependencies."
arch=(any)
url="https://github.com/Filirom1/npm2arch"
license=(MIT)
depends=('nodejs' 'npm' )
optdepends=()
conflicts=(nodejs-npm2arch)
source=(git+http://github.com/MazeChaZer/npm2arch.git#branch=feature/upgrade-dependencies)
md5sums=('SKIP')
# vim:set ts=2 sw=2 et:
package() {
cd $srcdir
cd $_npmname
npm install -g --prefix "$pkgdir/usr"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment