summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c63fcd1f366d7eac9e098a63115f4a5155a2cd83 (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
# Maintainer: Hezekiah Michael < spiritomb at protonmail dot com>

pkgname=neovim-colors-brogrammer-noguibg-git
pkgver=r40.5477768
pkgrel=1
pkgdesc="A dark, colorful syntax highlighting theme. A fork without a set gui background."
arch=('any')
url="https://github.com/kmalinich/vim-brogrammer-theme"
license=('unknown')
makedepends=('git')
depends=('neovim')
conflicts=('neovim-colors-brogrammer-git')
source=("$pkgname::git+https://github.com/kmalinich/vim-brogrammer-theme.git")
sha256sums=('SKIP')

pkgver() {
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$pkgname"
    find colors \
            -type f \
            -exec install -Dm644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
    install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}