diff options
author | Luis Martinez | 2021-08-18 01:58:44 -0500 |
---|---|---|
committer | Luis Martinez | 2021-08-18 01:58:44 -0500 |
commit | 2c00d2b50df6d42a2a3cbdb2fe6a3b8174a8a17e (patch) | |
tree | 3d6bfabf2afe4b84bb63489d55d2276840ade18d /PKGBUILD | |
download | aur-2c00d2b50df6d42a2a3cbdb2fe6a3b8174a8a17e.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7248f5762598 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> + +pkgname=neovim-nebulous-git +pkgver=r38.b15c938 +pkgrel=1 +pkgdesc="Minimalist collection of colorschemes" +arch=('any') +url="https://github.com/yagua/nebulous.nvim" +license=('MIT') +groups=('neovim-plugins') +depends=('neovim>=0.5') +optdepends=('tree-sitter') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +install=nebulous.install +source=("$pkgname::git+$url") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + find colors lua -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \; + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |