summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShane Stone2020-05-06 20:40:31 -0700
committerShane Stone2020-05-06 20:40:31 -0700
commitde1b8fa5ad588cb7ff58be137926280625b076a6 (patch)
tree9a942cb0f24d1356bf8118c9d172d740edf8aca8 /PKGBUILD
downloadaur-neovim-argtextobj-opt-git.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
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
+
+}