diff options
author | codex <aurelien@hackers.camp> | 2014-12-11 08:05:10 +0100 |
---|---|---|
committer | codex <aurelien@hackers.camp> | 2014-12-11 08:05:10 +0100 |
commit | f6f1838183128dc7a234d19225c8c8e3d27f3cb3 (patch) | |
tree | a3764df68b2971f5a19fdd7c9ab8fce432fceef7 /pcr | |
parent | 48dc6f9b6ee1fdd710876986e8f2ea5e40e3b478 (diff) | |
download | abslibre-f6f1838183128dc7a234d19225c8c8e3d27f3cb3.tar.gz abslibre-f6f1838183128dc7a234d19225c8c8e3d27f3cb3.tar.bz2 abslibre-f6f1838183128dc7a234d19225c8c8e3d27f3cb3.zip |
A very large collection of color schemes from vim.org
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/vim-colorschemes/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/vim-colorschemes/PKGBUILD b/pcr/vim-colorschemes/PKGBUILD new file mode 100644 index 000000000..1ed3cc251 --- /dev/null +++ b/pcr/vim-colorschemes/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: jsteel <mail at jsteel dot org> +# Contributor: nblock <nblock [/at\] archlinux DOT us> +# Contributor: William Díaz <wdiaz [at] archlinux [dot] us> +# Contributor: Wolfgang Frisch <xororand@frexx.de> +# Contributor: Leandro Inacio <carvalho.inacio@gmail.com> + +pkgname=vim-colorschemes +pkgver=20130124 +pkgrel=1 +pkgdesc="A very large collection of color schemes from vim.org" +url="http://packages.gentoo.org/package/app-vim/colorschemes" +arch=('any') +conflicts=('vim-colorsamplerpack' 'vim-solarized-git') +depends=('vim') +license=('vim' 'GPL2' 'public-domain' 'as-is') +groups=('vim-plugins') +source=("http://dev.gentoo.org/~radhermit/vim/colorschemes-$pkgver.tar.bz2") + +build() { + cd "$srcdir"/colorschemes-$pkgver + + patch -Np0 -i patches/kib_plastic.patch + patch -Np0 -i patches/potts.patch + + # fix line endings + find . -name '*.vim' -exec sed -i -e 's,\r,\n,g' {} \; +} + +package() { + cd "$srcdir"/colorschemes-$pkgver + + install -dm755 "$pkgdir"/usr/share/vim/vimfiles/colors + install -m644 colors/* "$pkgdir"/usr/share/vim/vimfiles/colors/ + + # delete existing colors + rm -r "$pkgdir"/usr/share/vim/vimfiles/colors/{blue.vim,delek.vim,desert.vim,torte.vim} +} |