[arch-commits] Commit in revive/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Apr 17 22:19:01 UTC 2021
Date: Saturday, April 17, 2021 @ 22:19:00
Author: foxboron
Revision: 919875
archrelease: copy trunk to community-x86_64
Added:
revive/repos/community-x86_64/PKGBUILD
(from rev 919874, revive/trunk/PKGBUILD)
Deleted:
revive/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-17 22:18:52 UTC (rev 919874)
+++ PKGBUILD 2021-04-17 22:19:00 UTC (rev 919875)
@@ -1,35 +0,0 @@
-# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
-
-pkgname=revive
-pkgver=1.0.3
-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=('3f829c35dcc8b94bb78c706c2a35bb1f5c77e83128614aa3867fe2952d0ce936')
-
-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 919874, revive/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-17 22:19:00 UTC (rev 919875)
@@ -0,0 +1,35 @@
+# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=revive
+pkgver=1.0.3
+pkgrel=2
+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=('3f829c35dcc8b94bb78c706c2a35bb1f5c77e83128614aa3867fe2952d0ce936')
+
+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