Created
February 21, 2017 19:22
-
-
Save lygaret/f080d12717e50e671a32f3498d1be59f to your computer and use it in GitHub Desktop.
PKGBUILD for installing npm2arch from @MazeChaZer's updated dependencies branch
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 characters
_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