summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2436466a1eaf67af416e49d2081120c88e799e55 (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: