[arch-commits] Commit in vim-ansible/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Fri May 14 18:02:35 UTC 2021


    Date: Friday, May 14, 2021 @ 18:02:35
  Author: dvzrv
Revision: 934287

archrelease: copy trunk to community-any

Added:
  vim-ansible/repos/community-any/PKGBUILD
    (from rev 934286, vim-ansible/trunk/PKGBUILD)
Deleted:
  vim-ansible/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   93 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 45 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 18:02:24 UTC (rev 934286)
+++ PKGBUILD	2021-05-14 18:02:35 UTC (rev 934287)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=ansible-vim
-pkgname=vim-ansible
-pkgver=3.0
-pkgrel=1
-pkgdesc="A vim plugin for syntax highlighting Ansible's common filetypes "
-arch=('any')
-url="https://github.com/pearofducks/ansible-vim"
-license=('MIT')
-groups=('vim-plugins')
-depends=('python-jinja' 'vim')
-makedepends=('ansible' 'python')
-optdepends=('vim-ultisnips: for ansible snippets')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pearofducks/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('77890d945926b7042259dcdd031ed83447512e234e621622afa377ed0d6b183cc936a63d48e406e69a6cfa7e2ce0d3f6e2b0d68c6b5858d76c67861c65df0573')
-b2sums=('9a294ff99cb3638d69178c5fcc155692ed56179cb576e73688ad2c9b9bdabc04dd603d531331c83d674d3c3371f984ab8dea9718766bcb4df2c6332a13c8b468')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  # replace vendored jinja2.vim with python-jinja's jinja.vim
-  # https://github.com/pearofducks/ansible-vim/issues/95
-  sed -e 's/jinja2/jinja/g' \
-      -i ftdetect/ansible.vim syntax/ansible.vim
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  # generating a reproducible UltiSnips snippet file:
-  # https://github.com/pearofducks/ansible-vim/pull/105
-  python UltiSnips/generate.py --style=dictionary
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  install -vDm 644 ftdetect/*.vim \
-    -t "${pkgdir}/usr/share/vim/vimfiles/ftdetect/"
-  install -vDm 644 ftplugin/*.vim \
-    -t "${pkgdir}/usr/share/vim/vimfiles/ftplugin/"
-  install -vDm 644 indent/*.vim -t "${pkgdir}/usr/share/vim/vimfiles/indent/"
-  install -vDm 644 syntax/ansible*.vim \
-    -t "${pkgdir}/usr/share/vim/vimfiles/syntax/"
-  install -vDm 644 ansible.snippets \
-    -t "${pkgdir}/usr/share/vim/vimfiles/UltiSnips/"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: vim-ansible/repos/community-any/PKGBUILD (from rev 934286, vim-ansible/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-14 18:02:35 UTC (rev 934287)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=ansible-vim
+pkgname=vim-ansible
+pkgver=3.1
+pkgrel=1
+pkgdesc="A vim plugin for syntax highlighting Ansible's common filetypes "
+arch=('any')
+url="https://github.com/pearofducks/ansible-vim"
+license=('BSD' 'MIT')
+groups=('vim-plugins')
+depends=('python-jinja' 'vim')
+makedepends=('ansible' 'python')
+optdepends=('vim-ultisnips: for ansible snippets')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pearofducks/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('a0c72474a07a909c69129f7ddf0b5c0cdfd9fc0ab4283790adb42f4d2edb4a5160eda5c94f150de706b81f6155bb3bfcb5b2d8a64b4f0c7addadad9c6d673792')
+b2sums=('66bc35226bbb052326b8014ccf76fa63b113b8807304e5eb8bbb58937f2f06fba2c81b53c8a95e1fc787ad57d329d65ba9e8d8fea82b82bb732b7a1d44c06c90')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  # generating a reproducible UltiSnips snippet file:
+  # https://github.com/pearofducks/ansible-vim/pull/105
+  python UltiSnips/generate.py --style=dictionary
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -vDm 644 ftdetect/*.vim \
+    -t "${pkgdir}/usr/share/vim/vimfiles/ftdetect/"
+  install -vDm 644 ftplugin/*.vim \
+    -t "${pkgdir}/usr/share/vim/vimfiles/ftplugin/"
+  install -vDm 644 indent/*.vim -t "${pkgdir}/usr/share/vim/vimfiles/indent/"
+  install -vDm 644 syntax/*.vim \
+    -t "${pkgdir}/usr/share/vim/vimfiles/syntax/"
+  install -vDm 644 ansible.snippets \
+    -t "${pkgdir}/usr/share/vim/vimfiles/UltiSnips/"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 syntax/*.vim_LICENSE \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list