[arch-commits] Commit in vint/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:28:24 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:28:24
  Author: felixonmars
Revision: 1063039

archrelease: copy trunk to community-staging-any

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

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

Copied: vint/repos/community-staging-any/PKGBUILD (from rev 1063037, vint/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:28:24 UTC (rev 1063039)
@@ -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=4
+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