blob: 3a782f6079811c915942d53e927df12c23918680 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
_name='zsh-notify'
pkgname="${_name}-git"
pkgver=r87.ae6e958
pkgrel=1
pkgdesc="Desktop notifications for long-running commands in zsh."
url="https://github.com/marzocchi/zsh-notify"
arch=('any')
license=('MIT')
depends=('zsh' 'xdotool')
optdepends=('wmctrl: To activate the terminal and set the urgency hint')
makedepends=('git')
provides=('zsh-notify')
source=("${_name}::${url//https/git+https}")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_name}"
install -d "${pkgdir}/usr/share/zsh/plugins/${_name}"
cp -a --no-preserve=ownership * "${pkgdir}/usr/share/zsh/plugins/${_name}"
}
|