Created
February 21, 2017 19:22
-
-
Save lygaret/f080d12717e50e671a32f3498d1be59f to your computer and use it in GitHub Desktop.
Revisions
-
lygaret created this gist
Feb 21, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ _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+https://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" }