summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Galeotti2015-06-08 15:36:58 -0300
committerBruno Galeotti2015-06-08 15:36:58 -0300
commit199d94e9dc37460d7be6748b447ca212e60d1b7c (patch)
tree5bae8d99394a86dcbdf8ef2e67a86bd7ec115331
downloadaur-199d94e9dc37460d7be6748b447ca212e60d1b7c.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD21
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..27f7061bc1c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = nodejs-redis-commander
+ pkgdesc = Redis web-based management tool written in node.js
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = http://joeferner.github.io/redis-commander/
+ arch = any
+ license = custom
+ depends = nodejs
+ noextract = redis-commander-0.2.1.tgz
+ source = http://registry.npmjs.org/redis-commander/-/redis-commander-0.2.1.tgz
+ sha1sums = 8bcaee68624fe897721af70482118cc20bb267cf
+
+pkgname = nodejs-redis-commander
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..10f82026e1d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: Bruno Galeotti <bgaleotti at gmail dot com>
+_npmname=redis-commander
+pkgname=nodejs-redis-commander
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Redis web-based management tool written in node.js"
+arch=('any')
+url="http://joeferner.github.io/redis-commander/"
+depends=('nodejs')
+license=('custom')
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+build() {
+ cd $srcdir
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p $_npmdir
+ cd $_npmdir
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+}
+sha1sums=('8bcaee68624fe897721af70482118cc20bb267cf')
+# vim:set ts=2 sw=2 et: