diff options
author | Matthew Hague | 2023-10-28 11:55:46 +0100 |
---|---|---|
committer | Matthew Hague | 2023-10-28 11:55:46 +0100 |
commit | 695d76ddb4f8810848fb833de3f2362c37dd3037 (patch) | |
tree | f1ca2d7e594560a05dc3b97dcc0fec0776d06c64 /PKGBUILD | |
parent | 19b35ddb1cc836dfda83eef32eeb784129bc73e0 (diff) | |
download | aur-695d76ddb4f8810848fb833de3f2362c37dd3037.tar.gz |
Fix source url and post install message
As per tzok comment on 2023-10-20 07:16 (UTC)
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() { |