2020-06-15 14:25:47 +02:00
|
|
|
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
|
|
|
# Contributor: FireZ <firez199984@gmail.com>
|
2015-12-04 11:52:15 +01:00
|
|
|
|
|
|
|
pkgname=vim-arduino-syntax-git
|
|
|
|
_pkgname=vim-arduino-syntax
|
2020-06-15 14:25:47 +02:00
|
|
|
pkgver=r19.adbc477
|
2015-12-04 11:52:15 +01:00
|
|
|
pkgrel=1
|
2015-12-04 11:57:28 +01:00
|
|
|
url=https://github.com/sudar/vim-arduino-syntax
|
|
|
|
pkgdesc="Arduino syntax files for Vim"
|
2020-06-15 14:25:47 +02:00
|
|
|
license=(custom:vim)
|
2015-12-04 11:52:15 +01:00
|
|
|
arch=(any)
|
2020-06-15 14:25:47 +02:00
|
|
|
makedepends=(git)
|
2015-12-04 11:52:15 +01:00
|
|
|
depends=(vim)
|
|
|
|
source=("git://github.com/sudar/vim-arduino-syntax.git")
|
|
|
|
md5sums=(SKIP)
|
|
|
|
|
2015-12-04 13:18:48 +01:00
|
|
|
pkgver() {
|
|
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
2015-12-04 11:52:15 +01:00
|
|
|
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
|
|
|
|
}
|