diff options
author | HelloImWar | 2023-01-25 18:04:26 -0500 |
---|---|---|
committer | HelloImWar | 2023-01-25 18:04:26 -0500 |
commit | 79e1ee1dec25171e41e9018664aaea843977770f (patch) | |
tree | 06d58c579b4858b7c901c9a4ddaddbfdeef82536 | |
download | aur-79e1ee1dec25171e41e9018664aaea843977770f.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8aa337e3c6ff --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = neovim-fold-cycle-git + pkgdesc = This neovim plugin allows you to cycle folds open or closed + pkgver = r15.g35bb75c + pkgrel = 1 + url = https://github.com/jghauser/fold-cycle.nvim + arch = any + groups = neovim-plugins + license = GPL + makedepends = git + depends = neovim + provides = neovim-fold-cycle + conflicts = neovim-fold-cycle + source = neovim-fold-cycle-git::git+https://github.com/jghauser/fold-cycle.nvim.git + sha256sums = SKIP + +pkgname = neovim-fold-cycle-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1cc5e2c13371 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: HelloImWar <helloimwar at proton dot me> + +pkgname=neovim-fold-cycle-git +_pkgname="${pkgname%-git}" +pkgver=r15.g35bb75c +pkgrel=1 +pkgdesc="This neovim plugin allows you to cycle folds open or closed" +arch=('any') +url="https://github.com/jghauser/fold-cycle.nvim" +license=('GPL') +groups=('neovim-plugins') +depends=('neovim') +makedepends=('git') +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("$pkgname::git+$url.git") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + echo r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD) +} + +package() { + cd "$pkgname" + find lua \ + -type f \ + -exec install -Dm644 '{}' "$pkgdir/usr/share/nvim/runtime/pack/plugins/start/$pkgname/{}" \; + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |