mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-22 03:11:30 -08:00
modified: vim-lightline-git/PKGBUILD
clean up unneeded comments, fix version function
This commit is contained in:
parent
431e29692c
commit
0200310250
@ -1,16 +1,19 @@
|
|||||||
# Generated by mksrcinfo v8
|
|
||||||
# Thu Dec 10 17:28:20 UTC 2015
|
|
||||||
pkgbase = vim-lightline-git
|
pkgbase = vim-lightline-git
|
||||||
pkgdesc = A light and configurable statusline/tabline for Vim
|
pkgdesc = A light and configurable statusline/tabline for Vim
|
||||||
pkgver = latest
|
pkgver = r515.583138f
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/itchyny/lightline.vim
|
url = https://github.com/itchyny/lightline.vim
|
||||||
install = vimdoc.install
|
install = lightline.install
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = git
|
makedepends = git
|
||||||
depends = vim-runtime
|
depends = vim-runtime
|
||||||
source = git://github.com/itchyny/lightline.vim.git
|
depends = neovim
|
||||||
|
provides = vim-lightline-git
|
||||||
|
conflicts = vim-lightline
|
||||||
|
conflicts = vim-lightline-git
|
||||||
|
replaces = vim-lightline
|
||||||
|
source = vim-lightline::git://github.com/itchyny/lightline.vim
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
|
|
||||||
pkgname = vim-lightline-git
|
pkgname = vim-lightline-git
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
_name='vim-lightline'
|
_name='vim-lightline'
|
||||||
pkgname="${_name}-git"
|
pkgname="${_name}-git"
|
||||||
pkgver=
|
pkgver=r515.583138f
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A light and configurable statusline/tabline for Vim'
|
pkgdesc='A light and configurable statusline/tabline for Vim'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -18,13 +18,12 @@ provides=('vim-lightline-git')
|
|||||||
conflicts=('vim-lightline' 'vim-lightline-git')
|
conflicts=('vim-lightline' 'vim-lightline-git')
|
||||||
replaces=('vim-lightline')
|
replaces=('vim-lightline')
|
||||||
install='lightline.install'
|
install='lightline.install'
|
||||||
# source=("git://github.com/itchyny/lightline.vim.git")
|
|
||||||
source=("${_name}::${url//https/git}")
|
source=("${_name}::${url//https/git}")
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/${_name}"
|
cd "${srcdir}/${_name}"
|
||||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
Loading…
Reference in New Issue
Block a user