Date: Monday, April 17, 2023 @ 14:24:14
Author: anatolik
Revision: 1446899
archrelease: copy trunk to community-x86_64
Added:
revive/repos/community-x86_64/PKGBUILD
(from rev 1446898, revive/trunk/PKGBUILD)
Deleted:
revive/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-17 14:23:54 UTC (rev 1446898)
+++ PKGBUILD 2023-04-17 14:24:14 UTC (rev 1446899)
@@ -1,35 +0,0 @@
-# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
-
-pkgname=revive
-pkgver=1.2.4
-pkgrel=1
-pkgdesc="faster, stricter, configurable, extensible, and beautiful drop-in
replacement for golint"
-arch=('x86_64')
-url='https://revive.run'
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mgechev/revive/archive/v${pkgver}.tar.gz")
-sha256sums=('bf2439a1a487274b7e37f84394dab87c2418e5396baffd501eb8543889564a2c')
-
-build() {
- cd revive-${pkgver}
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
- go build
-}
-
-check() {
- cd revive-${pkgver}/test
- go test || true
-}
-
-package() {
- cd revive-${pkgver}
- install -Dm755 revive "${pkgdir}/usr/bin/revive"
- install -Dm644 defaults.toml "${pkgdir}/etc/revive/revive.toml"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: revive/repos/community-x86_64/PKGBUILD (from rev 1446898,
revive/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-17 14:24:14 UTC (rev 1446899)
@@ -0,0 +1,35 @@
+# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=revive
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="faster, stricter, configurable, extensible, and beautiful drop-in
replacement for golint"
+arch=('x86_64')
+url='https://revive.run'
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mgechev/revive/archive/v${pkgver}.tar.gz")
+sha256sums=('b3b8804024cd2aadb0900912560ad8718d5d1fc47fba7d95d281b46a24352267')
+
+build() {
+ cd revive-${pkgver}
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+ go build
+}
+
+check() {
+ cd revive-${pkgver}/test
+ go test || true
+}
+
+package() {
+ cd revive-${pkgver}
+ install -Dm755 revive "${pkgdir}/usr/bin/revive"
+ install -Dm644 defaults.toml "${pkgdir}/etc/revive/revive.toml"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}