Date: Sunday, July 4, 2021 @ 03:50:02 Author: shibumi Revision: 971989
archrelease: copy trunk to community-x86_64 Added: yaegi/repos/community-x86_64/PKGBUILD (from rev 971988, yaegi/trunk/PKGBUILD) Deleted: yaegi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-04 03:49:51 UTC (rev 971988) +++ PKGBUILD 2021-07-04 03:50:02 UTC (rev 971989) @@ -1,36 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -# Contributor: navigaid <navig...@gmail.com> -pkgname=yaegi -pkgver=0.9.18 -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=('fdc9f69fa21ec35e86c01efdd5d583ac859916febe470f000407010abf944fd41501648ee87bad58927b9e3eceb401613245105da28854208661419326fc7d9f') - -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 971988, yaegi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-04 03:50:02 UTC (rev 971989) @@ -0,0 +1,36 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Contributor: navigaid <navig...@gmail.com> +pkgname=yaegi +pkgver=0.9.19 +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=('7497ef981d6c5b19db8cce1ddd7251df018745ea90dbbc45479f543b6fcd0e1d02252d066606ad4f6b313aef85224ec480c4cfa30ae80959b734497836ca399b') + +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" +}