diff options
author | Matthew hague | 2016-09-15 02:50:47 +0100 |
---|---|---|
committer | Matthew hague | 2016-09-15 02:51:06 +0100 |
commit | 413af551a8d24975aef1228aa1fe619b5175282e (patch) | |
tree | 306cc638bcf2d2d1dbe0b34d368b749302d49c0e | |
parent | 38fdd5e1f3ee92dd31c3fe098dfe515d8ac8da8c (diff) | |
download | aur-413af551a8d24975aef1228aa1fe619b5175282e.tar.gz |
updated nodejs-imapnotify to version 0.2.0 and tidied up pkgbuild
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 13 insertions, 14 deletions
@@ -1,17 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Sep 15 01:48:19 UTC 2016 pkgbase = nodejs-imapnotify pkgdesc = Execute scripts on new messages using IDLE imap command - pkgver = 0.1.0 - pkgrel = 6 + pkgver = 0.2.0 + pkgrel = 7 url = http://github.com/a-sk/node-imapnotify install = nodejs-imapnotify.install arch = any license = MIT makedepends = npm depends = nodejs - noextract = imapnotify-0.1.0.tgz - source = http://registry.npmjs.org/imapnotify/-/imapnotify-0.1.0.tgz + source = nodejs-imapnotify::git://github.com/a-sk/node-imapnotify.git#tag=0.2.0 source = imapnotify@.service - sha1sums = 33be4a48d86b7aec069d4f7243bf66b980583e5b + sha1sums = SKIP sha1sums = 1e82f19dffcfc2db30047f6788a91a1f9a138a65 pkgname = nodejs-imapnotify @@ -1,9 +1,8 @@ # Current Maintainer : Matthew Hague <matthewhague@zoho.com> # Original Maintainer : a-sk <askurihin at gmail dot com> -_npmname=imapnotify pkgname=nodejs-imapnotify # All lowercase -pkgver=0.1.0 -pkgrel=6 +pkgver=0.2.0 +pkgrel=7 pkgdesc="Execute scripts on new messages using IDLE imap command" arch=(any) url="http://github.com/a-sk/node-imapnotify" @@ -12,16 +11,15 @@ depends=('nodejs') optdepends=() makedepends=('npm') install=$pkgname.install -source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz "imapnotify@.service") -noextract=($_npmname-$pkgver.tgz) -sha1sums=(33be4a48d86b7aec069d4f7243bf66b980583e5b +source=($pkgname::git://github.com/a-sk/node-imapnotify.git#tag=$pkgver + imapnotify@.service) +sha1sums=('SKIP' 1e82f19dffcfc2db30047f6788a91a1f9a138a65) 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 + 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" } |