blob: 3494be6e19e25fd0fe0c3bbd622a776f86b35947 (
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
33
|
# Maintainer (AUR): Mario Finelli <mario dot finelli at yahoo dot com>
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
pkgname=vim-colors-solarized-git
pkgver=20110509
pkgrel=3
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")
sha256sums=('SKIP')
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/
}
|