Date: Friday, November 12, 2021 @ 21:19:52 Author: shibumi Revision: 1044841
archrelease: copy trunk to community-x86_64 Added: datree/repos/community-x86_64/PKGBUILD (from rev 1044840, datree/trunk/PKGBUILD) Deleted: datree/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-12 21:19:45 UTC (rev 1044840) +++ PKGBUILD 2021-11-12 21:19:52 UTC (rev 1044841) @@ -1,33 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -pkgname=datree -pkgver=0.14.33 -pkgrel=1 -pkgdesc='CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies' -arch=('x86_64') -url='https://github.com/datreeio/datree' -license=('Apache') -depends=('kubectl') -makedepends=('git' 'go') -source=("${pgname}-${pkgver}.tar.gz::https://github.com/datreeio/datree/archive/refs/tags/${pkgver}.tar.gz") -sha512sums=('390c78ae7c35f938f0849dee0389501c8e7c32510c45e99107f3a92c2d367594cbc2c28fa7ce40cc7138aff3335f32233b748120849a540936761ae5e55cf937') -b2sums=('2d70488cde8a372703aaaaa0b02a9d158e39c78ee979b55a1b4d5d45ff049d2427f649fe04a2275d30fc3159f2faaab2bbd0627ad251d50303559b9d7e198503') - -build() { - cd "${pkgname}-${pkgver}" - export CGO_LDFLAGS="$LDFLAGS" - export CGO_CFLAGS="$CFLAGS" - export CGO_CPPFLAGS="$CPPFLAGS" - export CGO_CXXFLAGS="$CXXFLAGS" - export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly' - go build -ldflags="-w -s -linkmode=external" -o datree . -} - -check() { - cd "${pkgname}-${pkgver}" - go test ./... -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dm755 datree "${pkgdir}/usr/bin/datree" -} Copied: datree/repos/community-x86_64/PKGBUILD (from rev 1044840, datree/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-12 21:19:52 UTC (rev 1044841) @@ -0,0 +1,33 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +pkgname=datree +pkgver=0.14.36 +pkgrel=1 +pkgdesc='CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies' +arch=('x86_64') +url='https://github.com/datreeio/datree' +license=('Apache') +depends=('kubectl') +makedepends=('git' 'go') +source=("${pgname}-${pkgver}.tar.gz::https://github.com/datreeio/datree/archive/refs/tags/${pkgver}.tar.gz") +sha512sums=('ade0bc2de17ca684bcbeabdb5e4d21907bd54e619368d8220318b3fa421b90e85d0ead3d338c7bbc1f260f847b27b2f9c138121b7ed94eeb5644771e0b007d5e') +b2sums=('18e73791185fc5a1698e293ff9d1058ae3eb3822fe96735272ce21b5c48680aeb17d4190469627a8a2dde3882e8b8b5d50d2c4b3cad21966b2a21d92fe1539ef') + +build() { + cd "${pkgname}-${pkgver}" + export CGO_LDFLAGS="$LDFLAGS" + export CGO_CFLAGS="$CFLAGS" + export CGO_CPPFLAGS="$CPPFLAGS" + export CGO_CXXFLAGS="$CXXFLAGS" + export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly' + go build -ldflags="-w -s -linkmode=external" -o datree . +} + +check() { + cd "${pkgname}-${pkgver}" + go test ./... +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm755 datree "${pkgdir}/usr/bin/datree" +}