blob: fe84fc6b4be6ebaa144aea79c692157d33a38fe9 (
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
33
34
|
# Maintainer: Cedric Girard <cgirard.archlinux@valinor.fr>
pkgname=vim-hybrid-git
_name=hybrid.vim
pkgver=r46.cc58baa
pkgrel=1
pkgdesc='A dark colour scheme for Vim'
arch=('any')
url="https://github.com/w0ng/vim-hybrid"
license=('MIT')
groups=('vim-plugins')
makedepends=('git')
depends=('vim')
provides=('vim-hybrid')
conflicts=('vim-hybrid')
source=("git+https://github.com/w0ng/vim-hybrid.git")
sha256sums=('SKIP')
pkgver() {
cd vim-hybrid
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
tail -n 28 "vim-hybrid/colors/$_name" | head -n -2 | cut -b2- > LICENSE
}
package() {
install -Dm644 "vim-hybrid/colors/$_name" \
"$pkgdir/usr/share/vim/vimfiles/colors/$_name"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|