blob: c40333a006e8f36e5e2d13d36f5dc81ed4de8f5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/
}
|