[arch-commits] Commit in easyjson/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 10 16:53:23 UTC 2020
Date: Monday, August 10, 2020 @ 16:53:23
Author: felixonmars
Revision: 673890
archrelease: copy trunk to community-x86_64
Added:
easyjson/repos/community-x86_64/PKGBUILD
(from rev 673889, easyjson/trunk/PKGBUILD)
Deleted:
easyjson/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-10 16:53:14 UTC (rev 673889)
+++ PKGBUILD 2020-08-10 16:53:23 UTC (rev 673890)
@@ -1,45 +0,0 @@
-# Maintainer: Anatol Pomozov
-
-pkgname=easyjson
-pkgver=0.7.1
-pkgrel=2
-pkgdesc='Fast JSON serializer for golang'
-arch=(x86_64)
-url='https://github.com/mailru/easyjson'
-license=(MIT)
-depends=(glibc)
-makedepends=(go git)
-source=(easyjson-$pkgver.zip::https://github.com/mailru/easyjson/archive/v$pkgver.zip)
-sha512sums=('2f0b9f95fc88028b8858348cfd9edba18997d4c6aa877e41f5bf63999e62f784bf57db73fae738639728fcf2e7195d6a798dbc2efcb5c1fc6c2edb0961eb517f')
-
-prepare() {
- cd $srcdir/easyjson-$pkgver
- sed -i 's/golint /#golint /g' Makefile
- sed -i 's/-i//g' Makefile
-}
-
-build() {
- cd $srcdir/easyjson-$pkgver
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- make build
-}
-
-check() {
- cd $srcdir/easyjson-$pkgver
- # The tests rebuild the binary, this time without flags
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- make test
-}
-
-package() {
- cd $srcdir/easyjson-$pkgver
- install -Dm755 bin/easyjson $pkgdir/usr/bin/easyjson
-}
Copied: easyjson/repos/community-x86_64/PKGBUILD (from rev 673889, easyjson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-10 16:53:23 UTC (rev 673890)
@@ -0,0 +1,45 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=easyjson
+pkgver=0.7.3
+pkgrel=1
+pkgdesc='Fast JSON serializer for golang'
+arch=(x86_64)
+url='https://github.com/mailru/easyjson'
+license=(MIT)
+depends=(glibc)
+makedepends=(go git)
+source=(easyjson-$pkgver.zip::https://github.com/mailru/easyjson/archive/v$pkgver.zip)
+sha512sums=('724ddac266f0531a700c859534a89381c2de058f80684570c5753558e0d51c7a8fbb72d3dc3bdc71bbed1b6af56fd3f458eb916fe5ddb6c84b2d3d93cff8b1f2')
+
+prepare() {
+ cd $srcdir/easyjson-$pkgver
+ sed -i 's/golint /#golint /g' Makefile
+ sed -i 's/-i//g' Makefile
+}
+
+build() {
+ cd $srcdir/easyjson-$pkgver
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ make build
+}
+
+check() {
+ cd $srcdir/easyjson-$pkgver
+ # The tests rebuild the binary, this time without flags
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ make test
+}
+
+package() {
+ cd $srcdir/easyjson-$pkgver
+ install -Dm755 bin/easyjson $pkgdir/usr/bin/easyjson
+}
More information about the arch-commits
mailing list