diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,25 +2,25 @@ _npmname=imapnotify pkgname=nodejs-imapnotify-git -pkgver=0.2.0.r6.ga37456c +pkgver=r39.f886715 pkgrel=1 pkgdesc='Execute scripts on new messages using IDLE imap command' arch=(any) -url='http://github.com/a-sk/node-imapnotify' +url="https://github.com/titibandit/node-imapnotify" license=('MIT') depends=('nodejs') optdepends=() makedepends=('npm') install=$pkgname.install conflicts=('nodejs-imapnotify') -source=($pkgname::git://github.com/a-sk/node-imapnotify.git +source=($pkgname::git+https://github.com/titibandit/node-imapnotify imapnotify@.service) sha256sums=('SKIP' 'e101ef974e5c342f7a69177fb5ae1c341b4c39c911993eaa97a0917bddc5cc11') pkgver() { cd "$pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { |