summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 516351ad7a75..00e6da7e25b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Achilleas Pipinellis <axilleas at archlinux dot gr>
pkgname=vale
-pkgver=3.1.0
+pkgver=3.2.0
pkgrel=1
pkgdesc="A customizable, syntax-aware linter for prose"
arch=('i686' 'x86_64')
@@ -11,23 +11,21 @@ url="https://github.com/errata-ai/vale"
license=('MIT')
makedepends=('go' 'go-bindata' 'rsync')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('17722be52a8ab919e26adeb077818de47ef275141a047aee789c9516d9c96ea7')
+sha256sums=('8fd17d0f66c5d2113f4f789c32775df8bcca60601e650b2432457d5a427147ec')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
+ cd ${pkgname}-${pkgver}
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-
go build -ldflags="-s -w -X main.version=${pkgver}" -o bin/vale ./cmd/vale
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -Dm755 bin/vale "${pkgdir}/usr/bin/vale"
- install -Dm644 README.md "${pkgdir}/usr/share/doc/vale/README.md"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/vale/LICENSE"
+ cd ${pkgname}-${pkgver}
+ install -vDm755 bin/vale "${pkgdir}/usr/bin/vale"
+ install -vDm644 README.md "${pkgdir}/usr/share/doc/vale/README.md"
+ install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/vale/LICENSE"
}