mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
parent
2d6a9a0287
commit
46fe881a17
@ -1,8 +1,9 @@
|
||||
# Contributor: Andrej Kolchin <KAAtheWise@protonmail.com>
|
||||
# Maintainer: Andrej Kolchin <KAAtheWise@protonmail.com>
|
||||
# Contributor: fossdd <fossdd@pwned.life>
|
||||
# Maintainer: fossdd <fossdd@pwned.life>
|
||||
pkgname=vale
|
||||
pkgver=3.7.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A markup-aware linter for prose built with speed and extensibility in mind"
|
||||
url="https://vale.sh/"
|
||||
arch="all"
|
||||
@ -10,6 +11,7 @@ license="MIT"
|
||||
makedepends="go"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/errata-ai/vale/archive/v$pkgver.tar.gz"
|
||||
options="net"
|
||||
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
||||
@ -21,12 +23,11 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
go test ./internal/core ./internal/lint ./internal/check ./internal/nlp ./internal/glob ./cmd/vale
|
||||
go test ./...
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 bin/vale -t "$pkgdir"/usr/bin
|
||||
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user