Date: Monday, February 15, 2010 @ 16:48:58 Author: dgriffiths Revision: 69008
Move to splitpkg format Modified: vim-colorsamplerpack/trunk/PKGBUILD ----------+ PKGBUILD | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-02-15 21:47:32 UTC (rev 69007) +++ PKGBUILD 2010-02-15 21:48:58 UTC (rev 69008) @@ -1,5 +1,6 @@ # $Id$ -# Maintainer : Aaron Griffin <[email protected]> +# Contributor: Aaron Griffin <[email protected]> +# Maintainer: Daniel J Griffiths <[email protected]> pkgname=vim-colorsamplerpack pkgver=8.03 @@ -18,14 +19,19 @@ 'f4639ddafc68f49395c25fb4caf0d6f7') build() { - cd ${srcdir}/colors - # This already exist... we can't update it 8( - rm torte.vim + cd ${srcdir}/colors + # This already exist... we can't update it 8( + rm torte.vim +} - cd ${srcdir} - installpath="$pkgdir/usr/share/vim/vim72" - install -d $installpath/colors/ - install -m644 colors/* $installpath/colors || return 1 - install -D -m644 plugin/color_sample_pack.vim $installpath/plugin/themes.vim || return 1 - install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 +package() { + cd ${srcdir} + installpath="${pkgdir}/usr/share/vim/vim72" + + install -d $installpath/colors/ + install -m644 colors/* $installpath/colors || return 1 + install -D -m644 plugin/color_sample_pack.vim \ + $installpath/plugin/themes.vim || return 1 + install -D -m644 LICENSE \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 }
