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

Levente Polyak anthraxx at archlinux.org
Wed Mar 6 22:21:59 UTC 2019


    Date: Wednesday, March 6, 2019 @ 22:21:58
  Author: anthraxx
Revision: 437934

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   61 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 34 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-06 22:21:52 UTC (rev 437933)
+++ PKGBUILD	2019-03-06 22:21:58 UTC (rev 437934)
@@ -1,27 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: David Thurstenson <thurstylark at gmail.com>
-
-pkgname=vim-ale
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='Asynchronous Lint Engine'
-url='https://github.com/w0rp/ale'
-arch=('any')
-license=('BSD')
-depends=('vim')
-optdepends=('shellcheck: for sh/bash support'
-            'flake8: for python support')
-groups=('vim-plugins')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/w0rp/ale/archive/v${pkgver}.tar.gz)
-sha256sums=('27c6da870601a966f9ee359ea12dca04dd9a3fe5a43f94240c9fd4258ef02dd6')
-sha512sums=('29da24fc3a0aca1517aee2c18517ad3b9d7dedb52227b5ca570bb057c671ea27fd4f47766217eb7d3579cdc539eba8f3fe80b89e88371c9cbe5b73854219d435')
-
-package() {
-	cd ale-${pkgver}
-	install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-	install -dm 755 "${pkgdir}/usr/share/vim/vimfiles"
-	cp -dr --no-preserve=ownership {ale_linters,autoload,doc,ftplugin,plugin,syntax} \
-		"${pkgdir}/usr/share/vim/vimfiles"
-}
-
-# vim: ts=2 sw=2 et:

Copied: vim-ale/repos/community-any/PKGBUILD (from rev 437933, vim-ale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-06 22:21:58 UTC (rev 437934)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: David Thurstenson <thurstylark at gmail.com>
+
+pkgname=vim-ale
+_gitcommit=0c6370f41a2e474fc8468a40e5b9a9312347d743
+pkgver=2.3.1
+pkgrel=1
+pkgdesc='Asynchronous Lint Engine'
+url='https://github.com/w0rp/ale'
+arch=('any')
+license=('BSD')
+depends=('vim')
+optdepends=('shellcheck: for sh/bash support'
+            'flake8: for python support')
+makedepends=('git')
+groups=('vim-plugins')
+source=("${pkgname}::git+https://github.com/w0rp/ale#commit=${_gitcommit}")
+sha512sums=('SKIP')
+#validpgpkeys=('') key currently not available: 0FC1ECAA8C81CD83
+
+pkgver() {
+  cd ${pkgname}
+  git describe --always --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+  cd ${pkgname}
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -dm 755 "${pkgdir}/usr/share/vim/vimfiles"
+  cp -dr --no-preserve=ownership {ale_linters,autoload,doc,ftplugin,plugin,syntax} \
+    "${pkgdir}/usr/share/vim/vimfiles"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list