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

Daniel M. Capella polyzen at archlinux.org
Thu Dec 27 20:34:43 UTC 2018


    Date: Thursday, December 27, 2018 @ 20:34:42
  Author: polyzen
Revision: 418554

archrelease: copy trunk to community-any

Added:
  vint/repos/community-any/
  vint/repos/community-any/PKGBUILD
    (from rev 418553, vint/trunk/PKGBUILD)

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

Copied: vint/repos/community-any/PKGBUILD (from rev 418553, vint/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-12-27 20:34:42 UTC (rev 418554)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Darshit Shah <darnir at gmail.com>
+
+pkgname=vint
+pkgver=0.3.19
+pkgrel=3
+pkgdesc='Lint tool for Vim script Language'
+arch=('any')
+url=https://github.com/Kuniwak/vint
+license=('MIT')
+depends=('python-ansicolor' 'python-chardet' 'python-setuptools' 'python-yaml')
+checkdepends=('python-pytest')
+replaces=('python-vint')
+source=("$url/archive/v$pkgver/vint-v$pkgver.tar.gz")
+sha512sums=('b9024ed1cd8a18a916798e691ba0db31985034b2420e33c094459a48254c7c8f6fe89a1a64858a67ff95b0b48e67a780cf975940646af2685d2b95640e8121f9')
+
+build() {
+  cd vint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd vint-$pkgver
+  pytest
+}
+
+package() {
+  cd vint-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list