Skip to content
Permalink
Browse files

archlinux: update and fix PKGBUILD

  • Loading branch information
benoit-pierre committed Mar 10, 2015
1 parent 78ac7a7 commit f1ea17456cc5e9fbf65ada1f79cd9e9d83d174f5
Showing with 4 additions and 4 deletions.
  1. +4 −4 archlinux/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: fzerorubigd <me@cyberrabbits.net>
_npmname=jison
pkgname=nodejs-jison # All lowercase
pkgver=0.3.12
pkgver=0.4.15
pkgrel=1
pkgdesc="An API for creating parsers in JavaScript"
arch=(any)
@@ -11,12 +11,12 @@ depends=('nodejs')
optdepends=()
source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
noextract=($_npmname-$pkgver.tgz)
sha1sums=('20dd448eebc2c569de25d0c13062f7e1a77335a2')
build() {
sha1sums=('6c6336c43e76b13c7ce29f96898c8bdf4e1e38fa')
package() {
cd $srcdir
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p $_npmdir
cd $_npmdir
npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
}
# vim:set ts=2 sw=2 et:
# vim:set ts=2 sw=2 et:

0 comments on commit f1ea174

Please sign in to comment.
You can’t perform that action at this time.