summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d003bab82b9dddf9ac73aedc8f48173000be02da (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
# Maintainer: 0x47

pkgname=vim-colorscheme-unsuck-flat-git
_instname=vim-colorscheme-unsuck-flat
_gitname=unsuck-flat
pkgver=1.be38bc4
pkgver() {
	cd "$_gitname" || exit
	echo "$(git rev-list --count master).$(git rev-parse --short master)"
}
pkgrel=1
pkgdesc="A Vim / GVim color scheme that tries not to suck as hard as the existing ones"

arch=('any')
url='https://github.com/unsuckvim/unsuck-flat'
license=('GPL3')
depends=('vim')
conflicts=($_instname)
makedepends=('git')
source=('git+https://github.com/unsuckvim/unsuck-flat.git')
sha256sums=('SKIP')

package() {
	install_dir="$pkgdir/usr/share/vim/vimfiles/colors"
	install -dm755 $install_dir
	install -Dm644 "$srcdir/$_gitname/unsuck-flat.vim" $install_dir/
}