summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwzy2023-05-24 22:21:21 +0800
committerWu Zhenyu2023-05-24 22:27:05 +0800
commite7cd69650e93f551b28ea0d8a709a5a2e5cb1f78 (patch)
tree522aa4d4b71c380cbb6af0f35b9721b60cf21868
parent07023077f5512258f95f2b181b1b8c753d3672c9 (diff)
downloadaur-e7cd69650e93f551b28ea0d8a709a5a2e5cb1f78.tar.gz
Add optdepends for actionlint
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD3
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e853feb3d471..969e38f704ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = actionlint
pkgdesc = Static checker for GitHub Actions workflow files
pkgver = 1.6.24
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rhysd/actionlint
arch = any
license = MIT
makedepends = go
makedepends = git
- source = actionlint-1.6.24-1.tar.gz::https://github.com/rhysd/actionlint/archive/refs/tags/v1.6.24.tar.gz
+ optdepends = python-pyflakes
+ optdepends = shellcheck
+ source = actionlint-1.6.24-2.tar.gz::https://github.com/rhysd/actionlint/archive/refs/tags/v1.6.24.tar.gz
sha256sums = 0dc8b31c8541a719486b5678e6f0401c8c13ce7baf79013570f3799f380c1dc1
pkgname = actionlint
diff --git a/PKGBUILD b/PKGBUILD
index da6020a0ea80..b10b2eaa5dae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
pkgname=actionlint
pkgver=1.6.24
-pkgrel=1
+pkgrel=2
pkgdesc="Static checker for GitHub Actions workflow files"
arch=('any')
url="https://github.com/rhysd/actionlint"
license=('MIT')
makedepends=('go' 'git')
+optdepends=('python-pyflakes' 'shellcheck')
source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('0dc8b31c8541a719486b5678e6f0401c8c13ce7baf79013570f3799f380c1dc1')