[arch-commits] Commit in vim-tabular/repos (community-any community-any/PKGBUILD)
Bruno Pagani
archange at archlinux.org
Mon Mar 11 11:20:20 UTC 2019
Date: Monday, March 11, 2019 @ 11:20:20
Author: archange
Revision: 439744
archrelease: copy trunk to community-any
Added:
vim-tabular/repos/community-any/
vim-tabular/repos/community-any/PKGBUILD
(from rev 439743, vim-tabular/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: vim-tabular/repos/community-any/PKGBUILD (from rev 439743, vim-tabular/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-03-11 11:20:20 UTC (rev 439744)
@@ -0,0 +1,28 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=tabular
+pkgname=vim-${_pkgname}
+pkgver=1.0.0+5+g339091a
+pkgrel=1
+pkgdesc="Vim script for text filtering and alignment"
+arch=('any')
+url="https://github.com/godlygeek/tabular"
+license=('custom')
+depends=('vim')
+makedepends=('git')
+groups=('vim-plugins')
+_commit=339091ac4dd1f17e225fe7d57b48aff55f99b23a
+source=("git+${url}#commit=${_commit}")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${_pkgname}
+ git describe --tags | sed 's/-/+/g'
+}
+
+package() {
+ cd ${_pkgname}
+ install -d "${pkgdir}"/usr/share/vim/vimfiles
+ cp -r after autoload doc plugin "${pkgdir}"/usr/share/vim/vimfiles/
+ install -Dm644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list