diff options
author | codex <aurelien@hackers.camp> | 2014-12-11 07:56:42 +0100 |
---|---|---|
committer | codex <aurelien@hackers.camp> | 2014-12-11 07:56:42 +0100 |
commit | 68c8092e1b31adcfdbccb62f7023f3b90758ef0a (patch) | |
tree | 2e560f4ca0b4e91e93c6da76868820f68d349405 /pcr/vim-colors-solarized-git/PKGBUILD | |
parent | ab34c9564fa08d928b4a0f1e31211d40e350d018 (diff) |
Precision colors for machines and people.
Diffstat (limited to 'pcr/vim-colors-solarized-git/PKGBUILD')
-rw-r--r-- | pcr/vim-colors-solarized-git/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/vim-colors-solarized-git/PKGBUILD b/pcr/vim-colors-solarized-git/PKGBUILD new file mode 100644 index 000000000..c40333a00 --- /dev/null +++ b/pcr/vim-colors-solarized-git/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: Mario Finelli <mtfinelli at gmail dot com> + +pkgname=vim-colors-solarized-git +pkgver=20110509 +pkgrel=2 +pkgdesc="Precision colors for machines and people." +arch=('any') +url="http://ethanschoonover.com/solarized" +license=('MIT') +makedepends=('git') +depends=('vim') +conflicts=('vim-solarized') +provides=('vim-solarized') +source=("$pkgname::git://github.com/altercation/vim-colors-solarized.git") + +pkgver() { + cd "$srcdir/$pkgname" + local _tmpver="$(git log -n 1 --format="%cd" --date=short)" + echo "${_tmpver//-/}" +} + +package() { + cd "$srcdir/$pkgname" + + install -dm755 $pkgdir/usr/share/vim/vimfiles/{plugin,bitmaps,colors,doc} + + install -Dm644 autoload/* $pkgdir/usr/share/vim/vimfiles/plugin/ + install -Dm644 bitmaps/* $pkgdir/usr/share/vim/vimfiles/bitmaps/ + install -Dm644 colors/* $pkgdir/usr/share/vim/vimfiles/colors/ + install -Dm644 doc/solarized.txt $pkgdir/usr/share/vim/vimfiles/doc/ +} |