summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Stone2020-07-17 16:44:30 -0700
committerShane Stone2020-07-17 16:44:30 -0700
commit6d31079bf09ff26be224dd29806b002808ebb304 (patch)
tree96b04e5f2d4e7fd7737a99e9a6242242646fe78d
downloadaur-6d31079bf09ff26be224dd29806b002808ebb304.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..dca7c9c81b5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = neovim-wordmotion-opt-git
+ pkgdesc = More useful word motions for (neo)vim.
+ pkgver = 99.5d0422e
+ pkgrel = 1
+ url = https://github.com/chaoren/vim-wordmotion
+ arch = any
+ license = custom:vim
+ makedepends = git
+ depends = neovim
+ source = wordmotion::git+https://github.com/chaoren/vim-wordmotion.git
+ sha256sums = SKIP
+
+pkgname = neovim-wordmotion-opt-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b4e71d84d88
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+pkgname=neovim-wordmotion-opt-git
+_pkgname=wordmotion
+pkgver=99.5d0422e
+pkgrel=1
+pkgdesc='More useful word motions for (neo)vim.'
+arch=('any')
+url="https://github.com/chaoren/vim-${_pkgname}"
+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}" doc plugin
+
+}