summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 910117081a9c82dec2aea205cab5d5f58b1578c1 (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
# Maintainer: lmartinez-mirror
# Contributor: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=vim-asyncrun-git
pkgver=2.8.6.r0.g168d6b4
pkgrel=3
pkgdesc='Vim plugin for executing shell commands asynchronously'
arch=('any')
url='https://github.com/skywind3000/asyncrun.vim'
license=('MIT')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/-/.r/;s/-/./'
}

package() {
  cd "$pkgname"
  find doc plugin \
    -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
  install -Dm 644 README*.md -t "$pkgdir/usr/share/doc/$pkgname/"
}