Initial upload: vim-hybrid-git r46.cc58baa-1
This commit is contained in:
parent
ad06c5d2f4
commit
3d2e521896
2 changed files with 51 additions and 0 deletions
17
vim-hybrid-git/.SRCINFO
Normal file
17
vim-hybrid-git/.SRCINFO
Normal 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
34
vim-hybrid-git/PKGBUILD
Normal 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:
|
Loading…
Reference in a new issue