mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
33 lines
932 B
Bash
33 lines
932 B
Bash
|
# $Id: PKGBUILD 49637 2009-08-14 06:19:58Z tobias $
|
||
|
# Maintainer: Aaron Griffin <aaron@archlinux.org>
|
||
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
||
|
|
||
|
pkgname=vim-matchit
|
||
|
pkgver=1.13.2
|
||
|
_scriptid=8196
|
||
|
pkgrel=2
|
||
|
pkgdesc="Extended % matching for vim"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://www.vim.org/scripts/script.php?script_id=39"
|
||
|
depends=(vim)
|
||
|
groups=('vim-plugins')
|
||
|
license=('custom:none')
|
||
|
install=vimdoc.install
|
||
|
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
|
||
|
md5sums=('e1e416517e25c384bbaa1e7f5b1b650f')
|
||
|
sha256sums=('94c89edc419e115b333f4acc55ba4a3fd3cd76f2bcc6c69f9ae02cb8824475ad')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir
|
||
|
mv download_script.php?src_id=$_scriptid matchit.zip
|
||
|
unzip -qqo matchit.zip
|
||
|
|
||
|
installpath="$pkgdir/usr/share/vim/vimfiles"
|
||
|
|
||
|
mkdir -p $installpath/doc/
|
||
|
install -m644 doc/matchit.txt $installpath/doc/
|
||
|
|
||
|
mkdir -p $installpath/plugin/
|
||
|
install -m644 plugin/matchit.vim $installpath/plugin/
|
||
|
}
|