updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / vim-sqlutil / PKGBUILD
blobdc930563575bcc184453a2a6d8d5529081c1a878
1 # Maintainer: Nicholas Ring <nring8 gmail com>
2 pkgname=vim-sqlutil
3 pkgver=4.00
4 _scriptid=13576
5 pkgrel=2
6 pkgdesc="Formatting, generate - columns lists, procedures for databases"
7 arch=(i686 x86_64)
8 url="http://www.vim.org/scripts/script.php?script_id=492"
9 license=('custom')
10 depends=(vim vim-align)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('a051d17058e3d20b0357b29bde79aa8b'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/vimfiles/{autoload,doc,plugin}
20     install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
21     install -Dm755 ${srcdir}/plugin/* ${pkgdir}/usr/share/vim/vimfiles/plugin/ || return 1
22     install -Dm755 ${srcdir}/autoload/* ${pkgdir}/usr/share/vim/vimfiles/autoload/ || return 1
23     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt