summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 13:59:12 -0600
committerJohn D Jones III2015-06-16 13:59:12 -0600
commit63db6b27554a611615c677a6a6df09be2e513bc9 (patch)
tree6bde050e33c7bda4e87a2256f429103dbaa2791c
downloadaur-nodejs-calipso.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a5b41d120b8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = nodejs-calipso
+ pkgdesc = A NodeJS CMS
+ pkgver = 0.3.54
+ pkgrel = 1
+ url = http://calip.so
+ arch = any
+ license = MIT
+ depends = nodejs
+ depends = npm
+ noextract = calipso-0.3.54.tgz
+ source = http://registry.npmjs.org/calipso/-/calipso-0.3.54.tgz
+ md5sums = c1af28b828645d68e0650302535d51de
+
+pkgname = nodejs-calipso
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..af5c3d52017
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: jnbek <jnbek1972 _AT_ google's mail service __DOT__ com>
+
+_npmname=calipso
+pkgname=nodejs-calipso # All lowercase
+pkgver=0.3.54
+pkgrel=1
+pkgdesc="A NodeJS CMS"
+arch=(any)
+license=('MIT')
+url="http://calip.so"
+depends=('nodejs' 'npm')
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+md5sums=('c1af28b828645d68e0650302535d51de')
+
+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: