blob: 6aec0ae465136c04077212ba1aa3563be2752ed2 (
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
|
# Maintainer: Pascal Mehnert <gargoil@posteo.de>
pkgname=nvimpager-git
pkgver=0.10.4.r17.g095e29a
pkgrel=1
pkgdesc="Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting"
arch=('any')
url='https://github.com/lucc/nvimpager'
license=('BSD')
depends=('neovim>=0.4.0' 'bash')
makedepends=('git' 'scdoc')
conflicts=('nvimpager')
provides=('nvimpager')
source=('git+https://github.com/lucc/nvimpager.git#branch=main')
sha256sums=('SKIP')
pkgver() {
cd nvimpager/
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
package() {
cd nvimpager/
make PREFIX="/usr" DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/vimpager/LICENSE"
}
|