summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Stone2020-05-06 20:40:31 -0700
committerShane Stone2020-05-06 20:40:31 -0700
commitde1b8fa5ad588cb7ff58be137926280625b076a6 (patch)
tree9a942cb0f24d1356bf8118c9d172d740edf8aca8
downloadaur-de1b8fa5ad588cb7ff58be137926280625b076a6.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD33
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a0c0c55d756
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = neovim-argtextobj-opt-git
+ pkgdesc = Text-object like motion for arguments.
+ pkgver = 3.f3fbe42
+ pkgrel = 1
+ url = https://github.com/vim-scripts/argtextobj.vim
+ arch = any
+ license = custom:vim
+ makedepends = git
+ depends = neovim
+ source = argtextobj::git+https://github.com/vim-scripts/argtextobj.vim.git
+ sha256sums = SKIP
+
+pkgname = neovim-argtextobj-opt-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6272768a4da
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+pkgname=neovim-argtextobj-opt-git
+_pkgname=argtextobj
+pkgver=3.f3fbe42
+pkgrel=1
+pkgdesc='Text-object like motion for arguments.'
+arch=('any')
+url="https://github.com/vim-scripts/${_pkgname}.vim"
+license=('custom:vim')
+depends=('neovim')
+makedepends=('git')
+source=("${_pkgname}::git+${url}.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+
+ cd "${srcdir}/${_pkgname}"
+
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+
+}
+
+package() {
+
+ cd "${srcdir}/${_pkgname}"
+
+ local _installpath="usr/local/share/nvim/site/pack/${_pkgname}/opt/${_pkgname}/"
+
+ install -dvm755 "${pkgdir}/${_installpath}"
+
+ cp -rvt "${pkgdir}/${_installpath}" plugin
+
+}