mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
# $Id: PKGBUILD 49632 2009-08-14 06:17:33Z tobias $
|
|
# Maintainer : Aaron Griffin <aaron@archlinux.org>
|
|
|
|
pkgname=vim-a
|
|
pkgver=2.18
|
|
_scriptid=7218
|
|
_docid=6347
|
|
pkgrel=4
|
|
pkgdesc="alternate files in vim quickly (.c -> .h etc)"
|
|
arch=(i686 x86_64)
|
|
url="http://www.vim.org/scripts/script.php?script_id=31"
|
|
license=('custom')
|
|
depends=(vim)
|
|
groups=('vim-plugins')
|
|
install=vimdoc.install
|
|
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid \
|
|
http://www.vim.org/scripts/download_script.php?src_id=$_docid LICENSE)
|
|
md5sums=('6570438244f71e19be1e1b84a5a6c1ec' '0fcef5054b1617fa8217c9bd0bede338'\
|
|
'6f4ce554c0e43d79e1532c7ba0bf63fe')
|
|
|
|
build()
|
|
{
|
|
cd $srcdir
|
|
mv download_script.php?src_id=$_scriptid a.vim
|
|
mv download_script.php?src_id=$_docid alternate.txt
|
|
|
|
installpath="$pkgdir/usr/share/vim/vimfiles"
|
|
|
|
install -D -m644 a.vim $installpath/plugin/a.vim || return 1
|
|
install -D -m644 alternate.txt $installpath/doc/alternate.txt || return 1
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|