summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ffbee80a5b144694d43e149fee6a2b7bf8432a39 (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
# Maintainer: lmartinez-mirror
pkgname=vim-plantuml-git
pkgver=0.2.0.r48.geb3df30
pkgrel=1
pkgdesc="Vim syntax for PlantUML"
arch=('any')
url="https://github.com/aklt/plantuml-syntax"
license=('custom:vim')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
makedepends=('git')
optdepends=('plantuml'
            'python-plantuml')
source=("git+$url")
md5sums=('SKIP')

pkgver() {
  cd plantuml-syntax
  git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}

package() {
  cd plantuml-syntax
  find ftdetect ftplugin indent syntax \
    -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \;
}