summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8bf200efb56163771d4095787ab621b11e076807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Ankit R Gadiya <arch@argp.in>

pkgname=vim-ranger
pkgver=2.0
pkgrel=4
pkgdesc="Ranger integration for vim"
license=('MIT')
arch=('any')
url="https://github.com/francoiscabrol/ranger.vim"
depends=('vim' 'ranger')
groups=('vim-plugins')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/francoiscabrol/ranger.vim/archive/${pkgver}.tar.gz")
md5sums=('59f24462eb5c7561756a646585cd9e4c')

package() {
    install -Dm755 "ranger.vim-${pkgver}/plugin/ranger.vim" \
		"${pkgdir}/usr/share/vim/vimfiles/plugin/ranger.vim"

	head -n 22 "ranger.vim-${pkgver}/plugin/ranger.vim" > LICENSE
	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}