archlinux-pkgbuilds/PKGBUILD

27 lines
685 B
Text
Raw Normal View History

2015-12-04 11:52:15 +01:00
# Maintainer: FireZ <firez199984@gmail.com>
pkgname=vim-arduino-syntax-git
_pkgname=vim-arduino-syntax
2015-12-04 13:18:48 +01:00
pkgver=r17.83f766d
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"
2015-12-04 11:52:15 +01:00
arch=(any)
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
}