diff options
author | Luis Martinez | 2021-07-04 18:08:19 -0500 |
---|---|---|
committer | Luis Martinez | 2021-07-04 18:08:19 -0500 |
commit | e03a2e42ccbf161992efe6024fa327cd26034f34 (patch) | |
tree | bcc35eb826135d3c4057a56c31308bd43fb1f26a | |
download | aur-e03a2e42ccbf161992efe6024fa327cd26034f34.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | due.install | 9 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..20505f98b5f8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = neovim-due-git + pkgdesc = Neovim plugin for displaying due dates + pkgver = r22.212e862 + pkgrel = 1 + url = https://github.com/nfrid/due.nvim + install = due.install + arch = any + groups = neovim-plugins + license = unknown + makedepends = git + depends = neovim>=0.4.4 + provides = neovim-due + conflicts = neovim-due + source = neovim-due-git::git+https://github.com/nfrid/due.nvim + sha256sums = SKIP + +pkgname = neovim-due-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..871f2f469db1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Luis Martinez <luis dot martinez at tuta dot io> + +pkgname=neovim-due-git +pkgver=r22.212e862 +pkgrel=1 +pkgdesc="Neovim plugin for displaying due dates" +arch=('any') +url="https://github.com/nfrid/due.nvim" +license=('unknown') +groups=('neovim-plugins') +depends=('neovim>=0.4.4') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +install=due.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" + install -Dm644 lua/due_nvim.lua -t "$pkgdir/usr/share/nvim/runtime/lua/" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} diff --git a/due.install b/due.install new file mode 100644 index 000000000000..dfe54f4bdc41 --- /dev/null +++ b/due.install @@ -0,0 +1,9 @@ +post_install() { + echo ':: This package requires manual activation.' + echo ':: Consult upstream documentation for instructions.' + echo ':: A copy of the README was installed into /usr/share/doc/neovim-due-git/' +} + +post_remove() { + echo ":: Don't forget to remove all references to this plugin from your init scripts!" +} |