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

Bruno Pagani archange at archlinux.org
Thu Jul 18 13:00:02 UTC 2019


    Date: Thursday, July 18, 2019 @ 13:00:01
  Author: archange
Revision: 491514

archrelease: copy trunk to community-any

Added:
  vim-grammalecte/repos/community-any/
  vim-grammalecte/repos/community-any/PKGBUILD
    (from rev 491513, vim-grammalecte/trunk/PKGBUILD)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Copied: vim-grammalecte/repos/community-any/PKGBUILD (from rev 491513, vim-grammalecte/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-07-18 13:00:01 UTC (rev 491514)
@@ -0,0 +1,22 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=vim-grammalecte
+pkgver=r21.a93ee1b
+pkgrel=1
+pkgdesc="Integrates Grammalecte into Vim"
+arch=(any)
+url="https://github.com/dpelle/vim-Grammalecte"
+license=(custom:VIM)
+depends=(vim grammalecte)
+groups=(vim-plugins)
+_commit=a93ee1b7a4dadb82ca7ba793faf3047f6f6863d7
+source=("${url}/archive/${_commit}/${pkgname}-${pkgver}.zip")
+sha256sums=('c3e3f3423c71cf78be50791f8d27d874770626fd09414122800ce6cfd0fb4c3f')
+
+package() {
+    cd ${pkgname/-g/-G}-${_commit}
+    install -d "${pkgdir}"/usr/share/vim/vimfiles
+    cp -r doc plugin "${pkgdir}"/usr/share/vim/vimfiles/
+    # Fix default path to the cli tool
+    sed -i "s:\$HOME . '/grammalecte/pythonpath/cli.py':'/usr/bin/grammalecte-cli':" "${pkgdir}"/usr/share/vim/vimfiles/plugin/Grammalecte.vim
+}



More information about the arch-commits mailing list