summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 894df408d91cc7c01b8b4f30c11f78de3d1ed9f6 (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: László Koncz <konlaasz at gmail dot com>

pkgname=vim-colors-zenburn-git
pkgdesc='A low-contrast color scheme for Vim'
pkgver=r45.8df7653
pkgrel=1
epoch=1
url='http://kippura.org/zenburnpage/'
arch=('any')
license=('GPL')
makedepends=('git')
depends=('vim')
provides=('vim-colors-zenburn')
conflicts=('vim-colorsamplerpack' 'vim-colorschemes')
source=("$pkgname::git+https://github.com/jnurmine/Zenburn.git")
sha256sums=('SKIP')

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

package() {
    cd "$srcdir/$pkgname"
    install -dm755 $pkgdir/usr/share/vim/vimfiles/colors
    install -Dm644 colors/* $pkgdir/usr/share/vim/vimfiles/colors/
}