updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / vim-foo / PKGBUILD
blobdd28b10aacac232c166d99ca4db6903b9591f941
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-foo
3 pkgver=2.1.1
4 _scriptid=4837
5 pkgrel=2
6 pkgdesc="Examples of Vim functions (and a few commands, etc.)"
7 arch=(i686 x86_64)
8 url="http://www.vim.org/scripts/script.php?script_id=72"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('426a980cc659c4f344e84c67d1515948'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -Dm755 ${srcdir}/${pkgname} ${pkgdir}/usr/share/vim/plugin/foo.vim || return 1
20     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt