updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / vim-ack / PKGBUILD
blobc11fe0226da68bba56a9ab10167d03c99f054288
1 # Maintainer: Patrice Peterson <runiq at archlinux dot us>
2 pkgname=vim-ack
3 pkgver=0.3.1
4 _scriptid=10433
5 pkgrel=1
6 pkgdesc="Plugin for the CLI script/Perl module 'ack'"
7 arch=('any')
8 url="http://www.vim.org/scripts/script.php?script_id=2572"
9 license=('custom:vim')
10 depends=('vim' 'ack')
11 install=vimdoc.install
12 source=($pkgname-$pkgver.tar.gz::"http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}"
13         "LICENSE")
14 sha256sums=('38ba55d0e7843568fcace6cfc04d5fc41d3fb9cc76c7fcf0b4680f0546c66e5c'
15             '446c67d93c43addf076fe103a71844c2d875d478f82186436567dd221f2652f3')
17 package() {
18   cd $srcdir
20   _installpath="${pkgdir}/usr/share"
21   install -Dm644 plugin/ack.vim ${_installpath}/vim/vimfiles/plugin/ack.vim
22   install -Dm644 doc/ack.txt ${_installpath}/vim/vimfiles/doc/ack.txt
23   install -Dm644 ${srcdir}/LICENSE ${_installpath}/licenses/${pkgname}/license.txt
27 # vim:set ts=2 sw=2 et: