Date: Tuesday, April 26, 2016 @ 04:32:17 Author: fyan Revision: 171871
archrelease: copy trunk to community-any Added: pm2/repos/community-any/PKGBUILD (from rev 171870, pm2/trunk/PKGBUILD) pm2/repos/community-any/pm2.service (from rev 171870, 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-04-26 02:31:59 UTC (rev 171870) +++ PKGBUILD 2016-04-26 02:32:17 UTC (rev 171871) @@ -1,30 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=pm2 -pkgver=1.1.2 -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' 'semver') -makedepends=('npm' 'git') -source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz - pm2.service) -noextract=($pkgname-$pkgver.tgz) -md5sums=('fd1604df1d8aa9dbd04e67b29bd71094' - '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 -} Copied: pm2/repos/community-any/PKGBUILD (from rev 171870, pm2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-04-26 02:32:17 UTC (rev 171871) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=pm2 +pkgver=1.1.3 +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' 'semver') +makedepends=('npm' 'git') +source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz + pm2.service) +noextract=($pkgname-$pkgver.tgz) +md5sums=('963534cf6e73e7c46940634b9162b3b4' + '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-04-26 02:31:59 UTC (rev 171870) +++ pm2.service 2016-04-26 02:32:17 UTC (rev 171871) @@ -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 171870, pm2/trunk/pm2.service) =================================================================== --- pm2.service (rev 0) +++ pm2.service 2016-04-26 02:32:17 UTC (rev 171871) @@ -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