blob: deff4f641a10518c9215e7f2878a0678b0880387 (
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
31
32
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=vim-hexokinase-git
pkgver=r116.62324b4
pkgrel=1
pkgdesc="Vim plugin for asynchronously displaying hex colors"
arch=('any')
url="https://github.com/rrethy/vim-hexokinase"
license=('unknown')
groups=('vim-plugins')
depends=('hexokinase' 'vim-plugin-runtime')
optdepends=(
'neovim: virtual text and sign_column support'
'vim: sign_column support (compiled with +signs)')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
find autoload doc lua plugin \
-type f \
-exec install -Dm644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
}
|