blob: e32d5269b2346b352000a75ae7d3e2000c3368d3 (
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
26
27
28
29
30
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=neovim-notify
pkgver=2.1.0
pkgrel=1
pkgdesc="Notification manager for Neovim"
arch=('any')
url="https://github.com/rcarriga/nvim-notify"
license=('MIT')
groups=('neovim-plugin')
depends=('neovim')
optdepends=('neovim-telescope')
checkdepends=('neovim-plenary')
install=notify.install
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('b7b9ee9228a6df3292edca85eb0c055c28ba8371110b8dfbd545d2fabcea6083')
check() {
cd "nvim-notify-$pkgver"
./scripts/test
}
package() {
cd "nvim-notify-$pkgver"
find doc lua \
-type f \
-exec install -Dm644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|