summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b73f41b6304e26d8bbd69b7485f230981aff0e04 (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
# Contributor: Vorzard <vorzard at plexomat dot com>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=vim-base16-git
pkgver=0.r59.1ce4b84
pkgrel=1
pkgdesc="Base16 for Vim"
arch=('any')
url="https://github.com/chriskempson/base16-vim"
license=('unknown')
groups=(vim-plugins)
depends=('vim')
makedepends=('git')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=vim-base16-git.install
source=("$pkgname::git+https://github.com/chriskempson/base16-vim.git")
noextract=()
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/$pkgname/colors"
  mkdir -p $pkgdir/usr/share/vim/vimfiles/colors/
  install -D -m644 *.vim $pkgdir/usr/share/vim/vimfiles/colors/
}