[arch-commits] Commit in vim-ultisnips/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 16:55:40 UTC 2020
Date: Thursday, November 12, 2020 @ 16:55:40
Author: felixonmars
Revision: 752098
archrelease: copy trunk to community-staging-any
Added:
vim-ultisnips/repos/community-staging-any/
vim-ultisnips/repos/community-staging-any/PKGBUILD
(from rev 752095, vim-ultisnips/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: vim-ultisnips/repos/community-staging-any/PKGBUILD (from rev 752095, vim-ultisnips/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 16:55:40 UTC (rev 752098)
@@ -0,0 +1,37 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=vim-ultisnips
+pkgver=3.2
+pkgrel=5
+pkgdesc='TextMate-style snippets for Vim.'
+arch=('any')
+url='https://github.com/SirVer/ultisnips'
+license=('GPL3')
+depends=('vim' 'python')
+groups=('vim-plugins')
+replaces=('vim-snipmate')
+makedepends=('git')
+_commit=2a4beefc7dfff8419f40f2672cfaaa726bdbff72
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/SirVer/ultisnips/archive/${pkgver}.tar.gz"
+ git+https://github.com/honza/vim-snippets.git#commit=$_commit)
+sha256sums=('550365cdf6bf030b9e5b77e511b4e6b1427660ea6a117c4b6bb77afcb950c4ce'
+ 'SKIP')
+
+package() {
+ cd "ultisnips-$pkgver"
+
+ install -dm755 "$pkgdir/usr/share/vim/vimfiles/"
+ cp -r -t "$pkgdir/usr/share/vim/vimfiles/" pythonx after doc ftdetect autoload\
+ ftplugin plugin syntax
+
+ cd "${srcdir}/vim-snippets"
+
+ install -dm755 "$pkgdir/usr/share/vim/vimfiles/"
+ cp -r -t "$pkgdir/usr/share/vim/vimfiles/" UltiSnips autoload snippets pythonx
+
+ # compile .pyc and .pyo files (fixes FS#43121)
+ find "${pkgdir}" -name '*.py' -exec python -mpy_compile {} +
+ find "${pkgdir}" -name '*.py' -exec python -O -mpy_compile {} +
+}
More information about the arch-commits
mailing list