summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec4a4aae9b36af10c47712076271e6b07665ef48 (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
# Maintainer:  kirill9617 <kirill9627@yandex.ru>

pkgname=vim_plugmanager
pkgver=97.367812f
pkgrel=1
pkgdesc="Vim plugins management by Delphinium"
arch=('any')
url="https://github.com/Bashka/$pkgname"
license=('GPL')
depends=('vim' 'vim_lib')
makedepends=('git')
install="${pkgname}.install"
source=("$pkgname::git+git://github.com/Bashka/${pkgname}.git")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $pkgname
  mkdir -p "${pkgdir}/usr/share/vim/bundle/$pkgname"

  # We don't need anything related to git in the package.
  rm -rf .git*

  # Copy everything else.
  cp -r . "${pkgdir}/usr/share/vim/bundle/$pkgname"
}

# vim:set ts=2 sw=2 et: