updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / vim-doc-pl / PKGBUILD
blob05ed137242b4716fed9751f9d239b9e118a6162c
1 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
2 pkgname=vim-doc-pl
3 pkgver=1.0
4 pkgrel=3
5 pkgdesc="The VIM Polish document"
6 arch=('any')
7 url="http://skawina.eu.org/mikolaj"
8 license=('GPL')
9 depends=('vim-runtime')
10 makedepends=('unzip')
11 install="vimdoc.install"
12 source=(http://dracorp.one.pl/vim/usr_doc_pl.zip)
13 build() {
14   cd "$srcdir"
15   _version_vimruntime=$(pacman -Q vim-runtime | awk \
16   '{$0=gensub(/^[^0-9]*([0-9])\.([0-9]).*/,"\\1\\2","1");print }')
17   install -dm755 ${pkgdir}/usr/share/vim/vim${_version_vimruntime}/doc || return 1
18   install -Dm644 ${srcdir}/*.plx ${pkgdir}/usr/share/vim/vim${_version_vimruntime}/doc/ || return 1
20 # vim:set ts=2 sw=2 et ft=sh tw=100:
22 md5sums=('ff96284b1c913d55cf0877839b34d490')