summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 261d6c7eef6b8996e33fb8406343d3440df1cb05 (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: Jeremy Audet <jerebear@protonmail.com>

pkgname='vim-hemisu-git'
_repository='vim-hemisu'
pkgver=3.4.4.g37ea6aa # see pkgver()
pkgrel=1
pkgdesc='A color scheme with dark and light variants, by Noah Frederick.'
arch=('any')
url="https://github.com/noahfrederick/${_repository}.git"
license=('CCPL:cc-by-nc-3.0')
groups=('vim-plugins')
depends=('vim')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/noahfrederick/${_repository}.git")

md5sums=('SKIP')
sha256sums=('SKIP')

pkgver() {
  cd "${_repository}"
  git describe --always | sed 's/^v//' | sed 's/-/./g'
}

package() {
  install -Dm 644 \
    "${srcdir}/${_repository}/colors/hemisu.vim" \
    "${pkgdir}/usr/share/vim/vimfiles/colors/hemisu.vim"
}

# vim:set ts=2 sw=2 et: