Initial upload: vim-hybrid-git r46.cc58baa-1

This commit is contained in:
Cedric Girard 2019-07-10 14:02:14 +02:00
parent ad06c5d2f4
commit 3d2e521896
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 51 additions and 0 deletions

17
vim-hybrid-git/.SRCINFO Normal file
View file

@ -0,0 +1,17 @@
pkgbase = vim-hybrid-git
pkgdesc = A dark colour scheme for Vim
pkgver = r46.cc58baa
pkgrel = 1
url = https://github.com/w0ng/vim-hybrid
arch = any
groups = vim-plugins
license = MIT
makedepends = git
depends = vim
provides = vim-hybrid
conflicts = vim-hybrid
source = git+https://github.com/w0ng/vim-hybrid.git
sha256sums = SKIP
pkgname = vim-hybrid-git

34
vim-hybrid-git/PKGBUILD Normal file
View file

@ -0,0 +1,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: