blob: 07995801f507136ceedd3a46ffb56b59611c1e67 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Johannes Schlatow <johannes.schlatow@googlemail.com>
pkgname=vim-openbrowser
pkgver=2.0.0
_scriptid=25873
pkgrel=2
pkgdesc="Open URI with your favorite browser from vim"
arch=('any')
url="http://www.vim.org/scripts/script.php?script_id=3133"
license=('unknown')
depends=('vim')
makedepends=('unzip')
groups=('vim-plugins')
install=vimdoc.install
source=("$pkgname-$pkgver.zip::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
sha256sums=('2abeca5d1f5b9a5fa018893197dc2e354b54cfc837b035ba6247f2c6dc37411c')
_install_directory() {
path=$1
installpath=$2
install -m755 -d $installpath/$path
for file in $path/*; do
if [ -f $file ]; then
install -Dm644 -t $installpath/$path/ $file
fi
done
}
package() {
cd ${srcdir}
installpath="${pkgdir}/usr/share/vim/vimfiles"
_install_directory doc $installpath
_install_directory plugin $installpath
_install_directory lang $installpath
_install_directory autoload/vital/__openbrowser__/OpenBrowser $installpath
_install_directory autoload/vital/__openbrowser__/ $installpath
_install_directory autoload/vital/_openbrowser/Web/URI $installpath
_install_directory autoload/vital/_openbrowser/Web $installpath
_install_directory autoload/vital/_openbrowser/Vim $installpath
_install_directory autoload/vital/_openbrowser/Data $installpath
_install_directory autoload/vital/_openbrowser/ $installpath
_install_directory autoload/vital/ $installpath
_install_directory autoload/ $installpath
}
|