summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew hague2016-09-15 02:51:38 +0100
committerMatthew hague2016-09-15 02:51:38 +0100
commit8420a0b04c612743e532e2a631b36831e4ae2948 (patch)
tree4bd412d0763908c5a30a3d50a63e7d5157b29cd1
parent5c529e0164699b3283529b63e4796145357b7b8b (diff)
downloadaur-8420a0b04c612743e532e2a631b36831e4ae2948.tar.gz
updated nodejs-imapnotify-git to version 0.2.0 and tidied up pkgbuild
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 28a128a74e4..30ff0bdd222 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 477a540a3d7..11c4bba0c4d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}