[arch-commits] Commit in vint/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 16:55:05 UTC 2020
Date: Thursday, November 12, 2020 @ 16:55:05
Author: felixonmars
Revision: 752084
archrelease: copy trunk to community-staging-any
Added:
vint/repos/community-staging-any/
vint/repos/community-staging-any/PKGBUILD
(from rev 752081, vint/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: vint/repos/community-staging-any/PKGBUILD (from rev 752081, vint/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 16:55:05 UTC (rev 752084)
@@ -0,0 +1,34 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Darshit Shah <darnir at gmail.com>
+
+pkgname=vint
+pkgver=0.3.20
+pkgrel=3
+pkgdesc='Lint tool for Vim script Language'
+arch=('any')
+url=https://github.com/Vimjas/vint
+license=('MIT')
+depends=('python-ansicolor' 'python-chardet' 'python-setuptools' 'python-yaml')
+checkdepends=('python-pytest')
+conflicts=('python-vint')
+replaces=('python-vint')
+source=("$url/archive/v$pkgver/vint-v$pkgver.tar.gz")
+sha512sums=('a71437cf20361d86fccfdccc05bebd30b40941ebbf65d587eb158d5e4ed3fdcb807b2291de082df7b9f66f4ccf1832ee0797156133a6c152536bd1915ffc4da4')
+
+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