[arch-commits] Commit in yaegi/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sun Jun 21 20:55:31 UTC 2020


    Date: Sunday, June 21, 2020 @ 20:55:30
  Author: shibumi
Revision: 650277

archrelease: copy trunk to community-x86_64

Added:
  yaegi/repos/community-x86_64/PKGBUILD
    (from rev 650276, yaegi/trunk/PKGBUILD)
Deleted:
  yaegi/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 35 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-21 20:55:21 UTC (rev 650276)
+++ PKGBUILD	2020-06-21 20:55:30 UTC (rev 650277)
@@ -1,30 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: navigaid <navigaid at gmail.com>
-pkgname=yaegi
-pkgver=0.8.4
-pkgrel=1
-pkgdesc='Yet another Elegant Go Interpreter'
-arch=('x86_64')
-url='https://github.com/containous/yaegi'
-license=('Apache')
-makedepends=('go-pie')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz")
-sha512sums=('fe405b7ce92835ffdfdd6fbbefe78f6081a5aead143a8ef65ef9c5227711ed129dc3a4d7590d979c3b295d9b31a1250c78a22ce23d1d04a4002d050d634bfe9b')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  go build -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/yaegi
-}
-
-# These checks fail right now :(
-#check() {
-#  cd "${pkgname}-${pkgver}"
-#  go test ./...
-#}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm755 yaegi "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: yaegi/repos/community-x86_64/PKGBUILD (from rev 650276, yaegi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-21 20:55:30 UTC (rev 650277)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: navigaid <navigaid at gmail.com>
+pkgname=yaegi
+pkgver=0.8.8
+pkgrel=1
+pkgdesc='Yet another Elegant Go Interpreter'
+arch=('x86_64')
+url='https://github.com/containous/yaegi'
+license=('Apache')
+makedepends=('go-pie')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz")
+sha512sums=('15e6334c935640f22913100e9c154392fd81a1734a26a1cf47f3eeccaf2ddd9993f71995996c67d0d7b4d0dcb763a415df7c2c4679f9fa45568ce7672ec848e6')
+
+build() {
+  cd "${pkgname}-${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"
+  go build ./cmd/yaegi
+}
+
+# These checks fail right now :(
+#check() {
+#  cd "${pkgname}-${pkgver}"
+#  go test ./...
+#}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm755 yaegi "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list