Date: Thursday, August 19, 2021 @ 11:26:34 Author: felixonmars Revision: 1003771
archrelease: copy trunk to community-x86_64 Added: yaegi/repos/community-x86_64/PKGBUILD (from rev 1003770, yaegi/trunk/PKGBUILD) Deleted: yaegi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-19 11:26:26 UTC (rev 1003770) +++ PKGBUILD 2021-08-19 11:26:34 UTC (rev 1003771) @@ -1,36 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -# Contributor: navigaid <navig...@gmail.com> -pkgname=yaegi -pkgver=0.9.21 -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=('091e8c2609ee33efd8eced3f9198d612d427e0fe20185d50027637bd1f646e1f3e2c08a34b3c27374d6d52584e330fe00adad7777069b649b926c9884e922069') - -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" -} Copied: yaegi/repos/community-x86_64/PKGBUILD (from rev 1003770, yaegi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-19 11:26:34 UTC (rev 1003771) @@ -0,0 +1,36 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Contributor: navigaid <navig...@gmail.com> +pkgname=yaegi +pkgver=0.9.22 +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=('176f5e3981456c3c9b90b48e3eff180d75b02d5f56d5a89937cbf91f9dc44fdbe618b25340f9c890a2b9aad4b93b2197234e4ad3c9ac49ee42ab6e009e571e12') + +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" +}