Date: Monday, August 16, 2021 @ 18:03:44 Author: shibumi Revision: 1001072
archrelease: copy trunk to community-x86_64 Added: popeye/repos/community-x86_64/PKGBUILD (from rev 1001071, popeye/trunk/PKGBUILD) Deleted: popeye/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-16 18:03:38 UTC (rev 1001071) +++ PKGBUILD 2021-08-16 18:03:44 UTC (rev 1001072) @@ -1,34 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> - -pkgname=popeye -pkgver=0.9.0 -pkgrel=2 -pkgdesc="Kubernetes cluster resource sanitizer" -arch=('x86_64') -url="https://github.com/derailed/popeye" -license=('Apache') -makedepends=('go' 'git') -depends=('glibc') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/derailed/popeye/archive/v${pkgver}.tar.gz") -sha512sums=('fdd056e1d04c654d2a18e8f6fbc5e48c00e351be5677375080fd69a27084f9540ec5b72854cb56b7738bb37758fba7f8b1d17e04cfeadc05504d564e6518fbd0') - -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 . - chmod +x ./popeye -} - -check(){ - cd "${pkgname}-${pkgver}" - go test ./... -} - -package(){ - cd "${pkgname}-${pkgver}" - install -Dsm755 ./popeye "${pkgdir}/usr/bin/popeye" -} Copied: popeye/repos/community-x86_64/PKGBUILD (from rev 1001071, popeye/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-16 18:03:44 UTC (rev 1001072) @@ -0,0 +1,34 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> + +pkgname=popeye +pkgver=0.9.7 +pkgrel=1 +pkgdesc="Kubernetes cluster resource sanitizer" +arch=('x86_64') +url="https://github.com/derailed/popeye" +license=('Apache') +makedepends=('go' 'git') +depends=('glibc') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/derailed/popeye/archive/v${pkgver}.tar.gz") +sha512sums=('d8e351c232393659ea081df25f15aab18a3e80fda51064d8c1574d284156021f21d1c5b1234774650a23378a90dd1902f6c7a2c213b5ef6105829e5ad4ea9334') + +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 . + chmod +x ./popeye +} + +check(){ + cd "${pkgname}-${pkgver}" + go test ./... +} + +package(){ + cd "${pkgname}-${pkgver}" + install -Dsm755 ./popeye "${pkgdir}/usr/bin/popeye" +}