[arch-commits] Commit in vim-a/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:09:32 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:09:32
  Author: felixonmars
Revision: 658837

archrelease: copy trunk to community-staging-any

Added:
  vim-a/repos/community-staging-any/
  vim-a/repos/community-staging-any/LICENSE
    (from rev 658836, vim-a/trunk/LICENSE)
  vim-a/repos/community-staging-any/PKGBUILD
    (from rev 658836, vim-a/trunk/PKGBUILD)

----------+
 LICENSE  |    9 +++++++++
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

Copied: vim-a/repos/community-staging-any/LICENSE (from rev 658836, vim-a/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2020-07-07 15:09:32 UTC (rev 658837)
@@ -0,0 +1,9 @@
+Copyright: (c) 2000-2006 Michael Sharpe
+           We grant permission to use, copy modify, distribute, and sell this
+           software for any purpose without fee, provided that the above 
+           copyright notice and this text are not removed. We make no guarantee
+           about the suitability of this software for any purpose and we are 
+           not liable for any damages resulting from its use. Further, we are 
+           under no obligation to maintain or extend this software. It is 
+           provided on an "as is" basis without any expressed or implied 
+           warranty.

Copied: vim-a/repos/community-staging-any/PKGBUILD (from rev 658836, vim-a/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 15:09:32 UTC (rev 658837)
@@ -0,0 +1,36 @@
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=vim-a
+pkgver=2.18
+_scriptid=7218
+_docid=6347
+pkgrel=10
+pkgdesc="alternate files in vim quickly (.c -> .h etc)"
+arch=('any')
+url="http://www.vim.org/scripts/script.php?script_id=31"
+license=('custom')
+depends=(vim)
+groups=('vim-plugins')
+source=(https://www.vim.org/scripts/download_script.php?src_id=$_scriptid
+        https://www.vim.org/scripts/download_script.php?src_id=$_docid LICENSE)
+md5sums=('6570438244f71e19be1e1b84a5a6c1ec'
+         '0fcef5054b1617fa8217c9bd0bede338'
+         '6f4ce554c0e43d79e1532c7ba0bf63fe')
+
+build() {
+	cd ${srcdir}
+
+	mv download_script.php?src_id=$_scriptid a.vim
+	mv download_script.php?src_id=$_docid alternate.txt
+}
+
+package() {
+	cd ${srcdir}
+
+	installpath="${pkgdir}/usr/share/vim/vimfiles"
+
+	install -D -m644 a.vim $installpath/plugin/a.vim
+	install -D -m644 alternate.txt $installpath/doc/alternate.txt
+	install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list