archrelease: copy trunk to community-any
[ArchLinux/community.git] / vim-airline / trunk / PKGBUILD
blobfc23f80de52c7eec47471435469df6e85573ad76
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
3 # Contributor: olantwin <olantwin@gmail.com>
5 pkgname=vim-airline
6 pkgver=0.11
7 pkgrel=1
8 pkgdesc='Status line, written in Vimscript'
9 url='https://github.com/vim-airline/vim-airline'
10 arch=('any')
11 license=('MIT')
12 depends=('vim' 'vim-airline-themes')
13 makedepends=('git')
14 groups=('vim-plugins')
15 optdepends=('powerline-fonts')
16 source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
17 sha512sums=('7837f9ae02c1503c7eb6918776292ac6e4b03535eb95aaf20ee091264af5e62c12b471a6e243db80891114848e71f75d9d1022df68909dd4940c88f093e3deb8')
18 b2sums=('7cb5cd6afbe1d30c664c6f2de75553972792806e4c75a9a178b497e92f3545e686111af08bb0b0b47e196a8ee04771947101bfe4d0d070023300f9479983f6ec')
20 package() {
21   cd ${pkgname}-${pkgver}
23   _installpath="$pkgdir/usr/share/vim/vimfiles"
24   install -d "${_installpath}"
25   cp -r -t "${_installpath}" autoload doc plugin t
26   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
27   install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
30 # vim: ts=2 sw=2 et: