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