summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f0ea2695e0a7..6ea30cdeb774 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
pkgbase = vale
pkgdesc = A customizable, syntax-aware linter for prose
- pkgver = 3.2.1
+ pkgver = 3.4.2
pkgrel = 1
url = https://github.com/errata-ai/vale
arch = i686
arch = x86_64
license = MIT
makedepends = go
- makedepends = go-bindata
makedepends = rsync
- source = vale-3.2.1.tar.gz::https://github.com/errata-ai/vale/archive/v3.2.1.tar.gz
- sha256sums = 9a4390b80503a67601e62f1736d6f91e5c2406e9abfa337c1d3cc154e7b3dc76
+ source = vale-3.4.2.tar.gz::https://github.com/errata-ai/vale/archive/v3.4.2.tar.gz
+ sha256sums = e1696739f13c8b579d96a9e4df4592f0bbda167aa74872eede6cc9482374d32b
pkgname = vale
diff --git a/PKGBUILD b/PKGBUILD
index 78a6be7afc2a..0616c7f7aa4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,15 @@
# Contributor: Achilleas Pipinellis <axilleas at archlinux dot gr>
pkgname=vale
-pkgver=3.2.1
+pkgver=3.4.2
pkgrel=1
pkgdesc="A customizable, syntax-aware linter for prose"
arch=('i686' 'x86_64')
url="https://github.com/errata-ai/vale"
license=('MIT')
-makedepends=('go' 'go-bindata' 'rsync')
+makedepends=('go' 'rsync')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('9a4390b80503a67601e62f1736d6f91e5c2406e9abfa337c1d3cc154e7b3dc76')
+sha256sums=('e1696739f13c8b579d96a9e4df4592f0bbda167aa74872eede6cc9482374d32b')
build() {
cd ${pkgname}-${pkgver}
@@ -23,6 +23,11 @@ build() {
go build -ldflags="-s -w -X main.version=${pkgver}" -o bin/vale ./cmd/vale
}
+check() {
+ cd ${pkgname}-${pkgver}
+ go test ./cmd/vale
+}
+
package() {
cd ${pkgname}-${pkgver}
install -vDm755 bin/vale "${pkgdir}/usr/bin/vale"