blob: 0c23532a57113bab42ad79646fb614c02934aa49 (
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
pkgname=vim-pkgbuild-git
_pkgname=${pkgname%-git}
pkgver=r13.5fc4106
pkgrel=1
pkgdesc="Vim plugin to edit PKGBUILD files"
arch=('any')
url="https://github.com/m-pilia/vim-pkgbuild"
license=('MIT')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
optdepends=('vim-ale' 'pacman-contrib' 'shellcheck')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
find ale_linters autoload doc ftdetect ftplugin indent plugin scripts \
syntax template -type f -exec install -Dm644 '{}' \
"$pkgdir/usr/share/vim/vimfiles/{}" \;
}
|