[arch-commits] Commit in revive/repos/community-x86_64 (PKGBUILD PKGBUILD)
Anatol Pomozov
anatolik at gemini.archlinux.org
Mon Feb 28 19:26:23 UTC 2022
Date: Monday, February 28, 2022 @ 19:26:22
Author: anatolik
Revision: 1138638
archrelease: copy trunk to community-x86_64
Added:
revive/repos/community-x86_64/PKGBUILD
(from rev 1138637, revive/trunk/PKGBUILD)
Deleted:
revive/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-28 19:25:52 UTC (rev 1138637)
+++ PKGBUILD 2022-02-28 19:26:22 UTC (rev 1138638)
@@ -1,35 +0,0 @@
-# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
-
-pkgname=revive
-pkgver=1.1.2
-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=('b2dd477895e11de93ef076a7ad8186003c5ccc87416909e281eed63d8e26d1db')
-
-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 1138637, revive/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-28 19:26:22 UTC (rev 1138638)
@@ -0,0 +1,35 @@
+# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=revive
+pkgver=1.1.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=('afe0d11a614d5ca706485b7f6ca1e53b374b45017ea75f14149a4434d3ef74b5')
+
+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"
+}
More information about the arch-commits
mailing list