summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1321174604a5074fa8dd6b36a0e69ee25dccfaa (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: oozyslug <oozyslug at gmail dot com>
# Maintainer: chliny <chliny11 at gmail dot com>
# Contributor: oozyslug <oozyslug at gmail dot com>

pkgname=neobundle-git
pkgver=4.0.22.g1306c13
pkgrel=1
pkgdesc="Ultimate Vim plugin manager inspired by Vundle"
arch=('any')
url="https://github.com/Shougo/neobundle.vim"
license=('GPL')
depends=('vim>=7.2.051')
makedepends=('git')
install=neobundle.install
source=('neobundle-git::git+https://github.com/Shougo/neobundle.vim.git'
        'neobundle.vimrc'
       )
sha512sums=('SKIP'
            '0f213143dca741957c9873fe881666b86b66fa285db6e3fdd85f4121596798169de6201b3660b1960602a0e6f2bc54ddb98a4ff42041e7ce59b08bd75190ec01'
           )

pkgver() {
    cd "$srcdir/$pkgname"
    git describe --tags | sed -E 's/^ver\.//;s/-/./g'
    
}
package() {
  cd "$srcdir/$pkgname"

  local _vimpath="${pkgdir}/usr/share/vim/vimfiles"

  mkdir -p "${_vimpath}/doc"
  cp -R doc "${_vimpath}/"

  mkdir -p "${_vimpath}/autoload"
  cp -R autoload "${_vimpath}/"

  install -Dm644 LICENSE-MIT.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
  install -Dm644 "${srcdir}/neobundle.vimrc" "${pkgdir}/usr/share/neobundle/vimrc.sample"
}