updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / vim-limp / PKGBUILD
blobcadbb0bc35ee9c70efe87b719c2c8ed6612cff0e
1 # Maintainer: Laszlo Papp <djszapi at archlinux us>
2 pkgname=vim-limp
3 pkgver=0.3.4
4 _scriptid=8771
5 pkgrel=4
6 pkgdesc="Lisp IDE"
7 arch=('i686' 'x86_64')
8 url="http://www.vim.org/scripts/script.php?script_id=2219"
9 license=('custom')
10 groups=('vim-plugins')
11 depends=('bash' 'perl')
12 install=vimdoc.install
13 source=(${pkgname}.tar.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('f285b1d2909aff19636105516f7fb494'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/ftplugin/lisp/vim ${pkgdir}/usr/bin ${pkgdir}/usr/share/doc/limp ${pkgdir}/usr/share/doc/limp/screenshots ${pkgdir}/usr/bin/hypertags
20     install -Dm755 ${srcdir}/limp-${pkgver}/${pkgver}/vim/* ${pkgdir}/usr/share/vim/ftplugin/lisp/vim || return 1
21     cp -aR ${srcdir}/limp-${pkgver}/${pkgver}/docs/* ${pkgdir}/usr/share/doc/limp/ || return 1
22     cp -aR ${srcdir}/limp-${pkgver}/${pkgver}/bin/* ${pkgdir}/usr/bin/ || return 1
23     ln -sf vim/limp.vim ${pkgdir}/usr/share/vim/ftplugin/lisp/limp.vim
24     install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1