Add 'vim-arduino-syntax-git/' from commit 'cad0c6af1b61a5e2d5d9aeb3474b8b31bb630dc0'

git-subtree-dir: vim-arduino-syntax-git
git-subtree-mainline: 9aa8e2b33e
git-subtree-split: cad0c6af1b
This commit is contained in:
Cedric Girard 2020-06-15 14:17:04 +02:00
commit 7892999cde
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,12 @@
pkgbase = vim-arduino-syntax-git
pkgdesc = Arduino syntax files for Vim
pkgver = r17.83f766d
pkgrel = 1
url = https://github.com/sudar/vim-arduino-syntax
arch = any
depends = vim
source = git://github.com/sudar/vim-arduino-syntax.git
md5sums = SKIP
pkgname = vim-arduino-syntax-git

4
vim-arduino-syntax-git/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*
!.gitignore
!PKGBUILD
!.SRCINFO

View file

@ -0,0 +1,26 @@
# Maintainer: FireZ <firez199984@gmail.com>
pkgname=vim-arduino-syntax-git
_pkgname=vim-arduino-syntax
pkgver=r17.83f766d
pkgrel=1
url=https://github.com/sudar/vim-arduino-syntax
pkgdesc="Arduino syntax files for Vim"
arch=(any)
depends=(vim)
source=("git://github.com/sudar/vim-arduino-syntax.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}"
for dir in ftdetect indent syntax
do
install -d -m 755 ${pkgdir}/usr/share/vim/vimfiles/${dir}
install -D -m 644 ${dir}/* ${pkgdir}/usr/share/vim/vimfiles/${dir}
done
}