blob: b120939a5b1d96c455214d5361165e8d7624b90a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=vim-crystal-git
pkgver=r135.aebaadb
pkgrel=1
pkgdesc='vim support for Crystal programming language'
arch=(any)
url='https://github.com/rhysd/vim-crystal'
license=(MIT)
makedepends=(git)
source=(git://github.com/rhysd/vim-crystal)
sha1sums=('SKIP')
pkgver() {
cd vim-crystal
echo r$(git rev-list --count master).$(git rev-parse --short master)
}
package() {
install -d "$pkgdir/usr/share/vim/vimfiles"
cp -r vim-crystal/{ftdetect,ftplugin,indent,syntax} "$pkgdir/usr/share/vim/vimfiles/"
}
|