summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuis Martinez2021-06-05 11:39:02 -0500
committerLuis Martinez2021-06-05 11:39:02 -0500
commit4ba93748479f5faa76ae4c048d19be385aa1b7d4 (patch)
tree0df90df7d69e834023c6b9d0c5b47970bf22f48d /PKGBUILD
downloadaur-4ba93748479f5faa76ae4c048d19be385aa1b7d4.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..76e29ba91c17
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Luis Martinez <luis dot martinez at tuta dot io>
+
+pkgname=neovim-moonlight-git
+pkgver=r164.e24e421
+pkgrel=1
+pkgdesc="A Lua port of VSCode's Moonlight colorscheme with builtin support for other plugins"
+arch=('any')
+url="https://github.com/shaunsingh/moonlight.nvim"
+license=('GPL')
+groups=('neovim-plugins')
+depends=('neovim-git')
+makedepends=('git')
+provides=("${pkgname%-git}" 'neovim-lualine-moonlight')
+conflicts=("${pkgname%-git}" 'neovim-lualine-moonlight')
+install="$pkgname.install"
+source=("$pkgname::git+$url")
+sha256sums=('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 -Dvm 644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
+ install -Dvm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}