diff options
author | Matthew hague | 2016-09-15 02:51:38 +0100 |
---|---|---|
committer | Matthew hague | 2016-09-15 02:51:38 +0100 |
commit | 8420a0b04c612743e532e2a631b36831e4ae2948 (patch) | |
tree | 4bd412d0763908c5a30a3d50a63e7d5157b29cd1 | |
parent | 5c529e0164699b3283529b63e4796145357b7b8b (diff) | |
download | aur-8420a0b04c612743e532e2a631b36831e4ae2948.tar.gz |
updated nodejs-imapnotify-git to version 0.2.0 and tidied up pkgbuild
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 9 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Thu Sep 15 01:48:26 UTC 2016 pkgbase = nodejs-imapnotify-git pkgdesc = Execute scripts on new messages using IDLE imap command - pkgver = 0.1.0 - pkgrel = 1 + pkgver = 0.2.0 + pkgrel = 2 url = http://github.com/a-sk/node-imapnotify install = nodejs-imapnotify-git.install arch = any @@ -1,9 +1,8 @@ # Maintainer: Matthew Hague <matthewhague@zoho.com> -_npmname=imapnotify pkgname=nodejs-imapnotify-git -pkgver=0.1.0 -pkgrel=1 +pkgver=0.2.0 +pkgrel=2 pkgdesc='Execute scripts on new messages using IDLE imap command' arch=(any) url='http://github.com/a-sk/node-imapnotify' @@ -19,10 +18,9 @@ sha256sums=('SKIP' 'ef5d751f86fcff398ddaf3114c3bc90ce685b85739f76e8c6f1f80cea5c1cb27') package() { - cd $srcdir local _npmdir="$pkgdir/usr/lib/node_modules/" mkdir -p $_npmdir - cd $_npmdir - PYTHON=/usr/bin/python2 npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver - install -Dm644 "${srcdir}/imapnotify@.service" "${pkgdir}/usr/lib/systemd/system/imapnotify@.service" + cd $srcdir/$pkgname + PYTHON=/usr/bin/python2 npm install -g --prefix "$pkgdir/usr" #$_npmname@$pkgver + install -Dm644 "${srcdir}/imapnotify@.service" "${pkgdir}/usr/lib/systemd/user/imapnotify@.service" } |