[arch-commits] Commit in pm2/repos/community-any (4 files)
Felix Yan
fyan at archlinux.org
Sun Feb 14 03:14:06 UTC 2016
Date: Sunday, February 14, 2016 @ 04:14:06
Author: fyan
Revision: 161509
archrelease: copy trunk to community-any
Added:
pm2/repos/community-any/PKGBUILD
(from rev 161508, pm2/trunk/PKGBUILD)
pm2/repos/community-any/pm2.service
(from rev 161508, pm2/trunk/pm2.service)
Deleted:
pm2/repos/community-any/PKGBUILD
pm2/repos/community-any/pm2.service
-------------+
PKGBUILD | 60 +++++++++++++++++++++++++++++-----------------------------
pm2.service | 32 +++++++++++++++---------------
2 files changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-14 03:13:48 UTC (rev 161508)
+++ PKGBUILD 2016-02-14 03:14:06 UTC (rev 161509)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=pm2
-pkgver=1.0.1
-pkgrel=1
-pkgdesc='Production process manager for Node.JS applications with a built-in load balancer'
-arch=('any')
-url='http://pm2.keymetrics.io'
-license=('AGPL3')
-depends=('nodejs' 'coffee-script')
-makedepends=('npm' 'git')
-source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz
- pm2.service)
-noextract=($pkgname-$pkgver.tgz)
-md5sums=('ef9f89299ae6f8259ae76702445b24b2'
- '2f3ffbb78aa64d262d99168c5380b472')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
- install -Dm644 pm2.service "$pkgdir"/usr/lib/systemd/system/pm2.service
- rm -r "$pkgdir"/usr/etc
-
- # Experimental dedup
- cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
- for dep in coffee-script; do
- rm -r $dep;
- npm link $dep;
- done
-}
Copied: pm2/repos/community-any/PKGBUILD (from rev 161508, pm2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-14 03:14:06 UTC (rev 161509)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pm2
+pkgver=1.0.1
+pkgrel=2
+pkgdesc='Production process manager for Node.JS applications with a built-in load balancer'
+arch=('any')
+url='http://pm2.keymetrics.io'
+license=('AGPL3')
+depends=('nodejs' 'coffee-script' 'semver')
+makedepends=('npm' 'git')
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz
+ pm2.service)
+noextract=($pkgname-$pkgver.tgz)
+md5sums=('ef9f89299ae6f8259ae76702445b24b2'
+ '2f3ffbb78aa64d262d99168c5380b472')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+ install -Dm644 pm2.service "$pkgdir"/usr/lib/systemd/system/pm2.service
+ rm -r "$pkgdir"/usr/etc
+
+ # Experimental dedup
+ cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+ for dep in coffee-script semver; do
+ rm -r $dep;
+ npm link $dep;
+ done
+}
Deleted: pm2.service
===================================================================
--- pm2.service 2016-02-14 03:13:48 UTC (rev 161508)
+++ pm2.service 2016-02-14 03:14:06 UTC (rev 161509)
@@ -1,16 +0,0 @@
-[Unit]
-Description=PM2 next gen process manager for Node.js
-After=network.target remote-fs.target
-
-[Service]
-Type=forking
-
-ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect
-ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all
-
-ExecStop=/usr/lib/node_modules/pm2/bin/pm2 dump
-ExecStop=/usr/lib/node_modules/pm2/bin/pm2 delete all
-ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill
-
-[Install]
-WantedBy=multi-user.target
Copied: pm2/repos/community-any/pm2.service (from rev 161508, pm2/trunk/pm2.service)
===================================================================
--- pm2.service (rev 0)
+++ pm2.service 2016-02-14 03:14:06 UTC (rev 161509)
@@ -0,0 +1,16 @@
+[Unit]
+Description=PM2 next gen process manager for Node.js
+After=network.target remote-fs.target
+
+[Service]
+Type=forking
+
+ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect
+ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all
+
+ExecStop=/usr/lib/node_modules/pm2/bin/pm2 dump
+ExecStop=/usr/lib/node_modules/pm2/bin/pm2 delete all
+ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list