blob: 9e9e8fb0f48afaf1cc87ef2760142d8b4ea1308a (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
_variant='neovim'
_colorscheme='everforest'
pkgbase="${_variant}-${_colorscheme}-git"
pkgname=("${_variant}-${_colorscheme}-git"
"${_variant}-airline-${_colorscheme}-git"
"${_variant}-lightline-${_colorscheme}-git")
pkgver=0.1.3.r35.g2dd7dd9
pkgrel=1
arch=('any')
url="https://github.com/sainnhe/${_colorscheme}"
license=('MIT')
source=("${_colorscheme}::git+${url}.git")
sha256sums=('SKIP')
makedepends=('git')
pkgver() {
cd "${srcdir}/${_colorscheme}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package_neovim-everforest-git() {
pkgdesc='Comfortable & Pleasant Color Scheme'
depends=("${_variant}")
provides=("${_variant}-${_colorscheme}")
conflicts=("${_variant}-${_colorscheme}")
cd "${srcdir}/${_colorscheme}"
nvim -es --cmd ":helptags doc" --cmd ":q"
find doc colors -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/pack/${_colorscheme}/start/${_colorscheme}/{}" \;
find autoload/*.vim -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/{}" \;
install -Dm 644 "${srcdir}/${_colorscheme}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_neovim-airline-everforest-git() {
pkgdesc="${_colorscheme} color scheme for airline"
depends=("${_variant}-${_colorscheme}"
'neovim-airline')
provides=("${_variant}-airline-${_colorscheme}")
conflicts=("${_variant}-airline-${_colorscheme}")
cd "${srcdir}/${_colorscheme}"
find autoload/airline -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/{}" \;
}
package_neovim-lightline-everforest-git() {
pkgdesc="${_colorscheme} color scheme for lightline"
depends=("${_variant}-${_colorscheme}"
'neovim-lightline')
provides=("${_variant}-lightline-${_colorscheme}")
conflicts=("${_variant}-lightline-${_colorscheme}")
cd "${srcdir}/${_colorscheme}"
find autoload/lightline -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/{}" \;
}
|