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

Christian Rebischke shibumi at archlinux.org
Sun Apr 4 23:24:58 UTC 2021


    Date: Sunday, April 4, 2021 @ 23:24:58
  Author: shibumi
Revision: 911813

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 36 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-04 23:24:48 UTC (rev 911812)
+++ PKGBUILD	2021-04-04 23:24:58 UTC (rev 911813)
@@ -1,41 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: navigaid <navigaid at gmail.com>
-pkgname=yaegi
-pkgver=0.9.6
-pkgrel=1
-pkgdesc='Yet another Elegant Go Interpreter'
-arch=('x86_64')
-url='https://github.com/containous/yaegi'
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz")
-sha512sums=('b3bd7b82dd5605205d991e1f7fa10541420e98845b0b9cd773fe70acfb5db6eb76d4cec97783eac9ca5ad36c15da2ad73d36533055da94af910e149dad1cc109')
-
-prepare() {
-  export GOPATH="${srcdir}"
-  mkdir -p src/github.com/containous "${GOPATH}/bin"
-  mv "${pkgname}-${pkgver}" "src/github.com/containous/${pkgname}"
-  export PACKAGE_ROOT="${GOPATH}/src/github.com/containous/${pkgname}"
-}
-
-build() {
-  cd "${PACKAGE_ROOT}"
-  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
-}
-
-#check() {
-#  cd "${PACKAGE_ROOT}"
-#  go test ./...
-#}
-
-package() {
-  cd "${PACKAGE_ROOT}"
-  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 911812, yaegi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-04 23:24:58 UTC (rev 911813)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: navigaid <navigaid at gmail.com>
+pkgname=yaegi
+pkgver=0.9.16
+pkgrel=1
+pkgdesc='Yet another Elegant Go Interpreter'
+arch=('x86_64')
+url='https://github.com/containous/yaegi'
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz")
+sha512sums=('107a5dcb8cd8be647d526c8037161b6fdf5ca64510bb9a60ee097d9c25f5865a4a167cf274f14d3559398b5d8f20b1c96def2253d2d4d42ad038a6219f0a364b')
+
+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 -ldflags=-linkmode=external"
+  go build -v ./cmd/yaegi
+}
+
+# disabling tests...
+#check() {
+#  cd "${pkgname}-${pkgver}"
+#  sed -i 's|"-race", ||' ./cmd/yaegi/yaegi_test.go
+#  GOROOT="/usr/lib/go" go test -v ./...
+#}
+
+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