summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Maslowski2016-06-23 00:14:14 +0200
committerDaniel Maslowski2016-06-23 00:14:14 +0200
commitdcf24535766fa348ac63ae435de8280da3cdbaf9 (patch)
treec95162e2ff395fcace92e117d443c0346ec47fe9
downloadaur-dcf24535766fa348ac63ae435de8280da3cdbaf9.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD20
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c4b81272485
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Wed Jun 22 22:14:04 UTC 2016
+pkgbase = nodejs-mgp
+ pkgdesc = Install private Meteor packages
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = http://github.com/DispatchMe/mgp
+ arch = any
+ license = MIT
+ depends = nodejs
+ source = http://registry.npmjs.org/mgp/-/mgp-1.3.0.tgz
+ sha1sums = e885ff32856652b3f489cc4976e61d6c1ebcffcf
+
+pkgname = nodejs-mgp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a893fdbb8e5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Daniel Maslowski <info@orangecms.org>
+
+_npmname=mgp
+_npmver=1.3.0
+pkgname=nodejs-$_npmname
+pkgver=$_npmver
+pkgrel=1
+pkgdesc="Install private Meteor packages"
+arch=(any)
+url="http://github.com/DispatchMe/mgp"
+license=('MIT')
+depends=('nodejs')
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
+sha1sums=('e885ff32856652b3f489cc4976e61d6c1ebcffcf')
+
+package() {
+ cd "$srcdir/package"
+ /usr/bin/npm i -g --unsafe-perm --prefix "$pkgdir/usr"
+ install -Dm 644 README.md "$pkgdir/usr/share/doc/${pkgname}/README"
+}