diff options
author | Luis Martinez | 2021-04-24 18:27:15 -0500 |
---|---|---|
committer | Luis Martinez | 2021-04-24 18:27:15 -0500 |
commit | 3742a1f14b58ef41200479480b91dc144525c3a7 (patch) | |
tree | dd53d1b0145dbc3d2da0f2e29d14479edd870ae5 /PKGBUILD | |
download | aur-neovim-neoline-git.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c7d6530c889 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Luis Martinez <luis dot martinez at tuta dot io> +pkgname=neovim-neoline-git +pkgver=r93.f743568 +pkgrel=1 +pkgdesc="Status line for Neovim focused on beauty and performance" +arch=('any') +url="https://github.com/adelarsq/neoline.vim" +license=('MIT') +groups=('neovim-plugins') +depends=('neovim') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +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 lua plugin \ + -type f -exec install -Dvm 644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \; + install -Dvm 644 License "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dvm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |