This commit is contained in:
FireZ 2015-12-04 18:52:15 +08:00
commit e42ad45642
3 changed files with 33 additions and 0 deletions

10
.SRCINFO Normal file
View file

@ -0,0 +1,10 @@
pkgbase = vim-arduino-syntax-git
pkgver = 83f766d
pkgrel = 1
arch = any
depends = vim
source = git://github.com/sudar/vim-arduino-syntax.git
md5sums = SKIP
pkgname = vim-arduino-syntax-git

4
.gitignore vendored Normal file
View file

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

19
PKGBUILD Normal file
View file

@ -0,0 +1,19 @@
# Maintainer: FireZ <firez199984@gmail.com>
pkgname=vim-arduino-syntax-git
_pkgname=vim-arduino-syntax
pkgver=83f766d
pkgrel=1
arch=(any)
depends=(vim)
source=("git://github.com/sudar/vim-arduino-syntax.git")
md5sums=(SKIP)
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
}