blob: 46b40c325acd5aff8854a446dcc28b82f8c661bd (
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
|
# Maintainer: Jonathan Liu <net147@gmail.com>
pkgname=vim-bitbake-git
pkgver=r90.6d4148c
_gitname=vim-bitbake
pkgrel=1
pkgdesc="Vim files for the BitBake tool"
arch=('any')
url="https://github.com/kergoth/vim-bitbake"
license=('MIT')
depends=('vim')
makedepends=('git')
source=('git+https://github.com/kergoth/vim-bitbake.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_gitname"
install -Dm644 ftdetect/bitbake.vim "$pkgdir/usr/share/vim/vimfiles/ftdetect/bitbake.vim"
install -Dm644 ftplugin/bitbake.vim "$pkgdir/usr/share/vim/vimfiles/ftplugin/bitbake.vim"
install -Dm644 plugin/newbb.vim "$pkgdir/usr/share/vim/vimfiles/plugin/newbb.vim"
install -Dm644 syntax/bitbake.vim "$pkgdir/usr/share/vim/vimfiles/syntax/bitbake.vim"
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
|