blob: 242252e62f6c3f862c02eb09af359045da5f818b (
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
|
# Maintainer: John A. Leuenhagen
_pkgname=vim-ember-hbs
pkgname=$_pkgname-git
pkgver=r36.c47e195
pkgrel=1
pkgdesc="Ember Handlebars/HTMLBars plugin for Vim with indentation support"
arch=('any')
url="https://github.com/joukevandermaas/vim-ember-hbs"
license=('MIT')
depends=('vim')
makedepends=('git')
provides=("$_pkgname")
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
cp -r ftdetect indent syntax "$pkgdir/usr/share/vim/vimfiles"
}
|