first package version
This commit is contained in:
commit
c6022ff2cd
3 changed files with 51 additions and 0 deletions
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
|
@ -0,0 +1,15 @@
|
|||
pkgbase = vim-indent-guides
|
||||
pkgdesc = Visually display indent levels in Vim
|
||||
pkgver = 1.6
|
||||
pkgrel = 1
|
||||
url = http://www.vim.org/scripts/script.php?script_id=3361
|
||||
install = vimdoc.install
|
||||
arch = any
|
||||
groups = vim-plugins
|
||||
license = MIT
|
||||
depends = vim
|
||||
source = https://github.com/nathanaelkane/vim-indent-guides/archive/1.6.tar.gz
|
||||
sha256sums = 11c401fb1b23e42536238011c28027e1e2807b210686d94f5f445638bbc075fe
|
||||
|
||||
pkgname = vim-indent-guides
|
||||
|
22
PKGBUILD
Normal file
22
PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
# Contributor: Olivier Mehani <shtrom+aur@ssji.ne>
|
||||
|
||||
pkgname=vim-indent-guides
|
||||
pkgver=1.6
|
||||
pkgrel=1
|
||||
pkgdesc='Visually display indent levels in Vim'
|
||||
arch=(any)
|
||||
url='http://www.vim.org/scripts/script.php?script_id=3361'
|
||||
license=(MIT)
|
||||
groups=('vim-plugins')
|
||||
depends=(vim)
|
||||
install=vimdoc.install
|
||||
source=("https://github.com/nathanaelkane/vim-indent-guides/archive/${pkgver}.tar.gz")
|
||||
sha256sums=('11c401fb1b23e42536238011c28027e1e2807b210686d94f5f445638bbc075fe')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/${pkgname}-${pkgver}"
|
||||
local installpath="$pkgdir/usr/share/vim/vimfiles"
|
||||
mkdir -p "$installpath"
|
||||
cp -r autoload plugin doc "$installpath"
|
||||
}
|
14
vimdoc.install
Normal file
14
vimdoc.install
Normal file
|
@ -0,0 +1,14 @@
|
|||
post_install() {
|
||||
echo -n "Updating Vim help tags..."
|
||||
/usr/bin/vim --noplugin -u NONE -U NONE \
|
||||
--cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue