blob: 339eb9d48827a2017d557e3612b52f66915021e8 (
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
34
35
36
|
# Maintainer: Repentinus <aur at repentinus dot eu>
# Contributor: Mario Finelli <mario dot finelli at yahoo dot com>
pkgname=vim-colors-solarized-git
pkgver=20110509
pkgrel=4
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+https://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/"
sed -nE '/^Copyright \(c\) 2011 Ethan Schoonover$/,$ p' README.mkd > LICENCE
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENCE
}
|