blob: dad9a6bf56ac390cc7b6ffe51107a468b66c4dca (
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: Luis Martinez <luis dot martinez at tuta dot io>
pkgname=lualine-envy-git
pkgver=r2.9ee2960
pkgrel=1
pkgdesc="Envy colorscheme for Lualine"
arch=('any')
url="https://git.sr.ht/~lmartinez/lualine-envy"
license=('MIT')
groups=('neovim-plugins')
depends=('neovim-lualine')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
(
set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/^v//;s/-/.r/;s/-/./' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
package() {
cd "$pkgname"
install -Dvm 644 lua/lualine/themes/envy.lua -t "$pkgdir/usr/share/nvim/runtime/lua/lualine/themes/"
install -Dvm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dvm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|