Package Details: nodejs-jison 0.4.15-1

Git Clone URL: https://aur.archlinux.org/nodejs-jison.git (read-only)
Package Base: nodejs-jison
Description: An API for creating parsers in JavaScript
Upstream URL: https://github.com/zaach/jison
Licenses: MIT
Submitter: fzerorubigd
Maintainer: jnbek
Last Packager: jnbek
Votes: 1
Popularity: 0.000000
First Submitted: 2012-10-23 16:24
Last Updated: 2015-06-16 20:00

Latest Comments

bpierre commented on 2015-03-10 13:55

Patch to update PKGBUILD to latest version and fix "Missing package() function" error: https://github.com/benoit-pierre/jison/commit/f1ea17456cc5e9fbf65ada1f79cd9e9d83d174f5

bpierre commented on 2015-03-10 13:45

Patch to update PKGBUILD to latest version and fix missing package function error:

--- PKGBUILD.orig 2015-03-10 14:34:47.195185485 +0100
+++ PKGBUILD 2015-03-10 14:32:34.121854552 +0100
@@ -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 @@
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:
\ No newline at end of file
+# vim:set ts=2 sw=2 et:

bpierre commented on 2015-03-10 13:41

Patch to update PKGBUILD to latest version and fix missing package function error:

--- PKGBUILD.orig 2015-03-10 14:34:47.195185485 +0100
+++ PKGBUILD 2015-03-10 14:32:34.121854552 +0100
@@ -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 @@
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:
\ No newline at end of file
+# vim:set ts=2 sw=2 et: