summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Nagy2015-06-08 20:33:28 +0200
committerDaniel Nagy2015-06-08 20:33:28 +0200
commit8f2cb9741cf5495f915e48734c2644615da1472c (patch)
treec1f07852c7dad0793b4e919618812bf593abaae5
downloadaur-8f2cb9741cf5495f915e48734c2644615da1472c.tar.gz
import to aur4
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD28
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e2a67ea602f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = nodejs-jake
+ pkgdesc = JavaScript build tool, similar to Make or Rake
+ pkgver = 0.7.3
+ pkgrel = 1
+ url = http://github.com/mde/jake
+ arch = any
+ depends = nodejs
+ noextract = jake-0.7.3.tgz
+ source = http://registry.npmjs.org/jake/-/jake-0.7.3.tgz
+ sha1sums = e5321b99bce65798a5408d7586fb803581cf70f4
+
+pkgname = nodejs-jake
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..419c17014a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Daniel Nagy <danielnagy at gmx de>
+# Contributor: Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)
+# Contributor: mde <mde@fleegix.org>
+
+_npmname=jake
+_npmver=0.7.3
+pkgname=nodejs-jake # All lowercase
+pkgver=0.7.3
+pkgrel=1
+pkgdesc="JavaScript build tool, similar to Make or Rake"
+arch=(any)
+url="http://github.com/mde/jake"
+license=()
+depends=('nodejs' )
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
+noextract=($_npmname-$_npmver.tgz)
+sha1sums=('e5321b99bce65798a5408d7586fb803581cf70f4')
+
+package() {
+ cd "$srcdir"
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p "$_npmdir"
+ cd "$_npmdir"
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver
+}
+
+# vim:set ts=2 sw=2 et: