Date: Sunday, May 7, 2023 @ 13:03:23 Author: kpcyrd Revision: 1459318
archrelease: copy trunk to community-x86_64 Added: crane/repos/community-x86_64/PKGBUILD (from rev 1459317, crane/trunk/PKGBUILD) Deleted: crane/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-07 13:03:01 UTC (rev 1459317) +++ PKGBUILD 2023-05-07 13:03:23 UTC (rev 1459318) @@ -1,39 +0,0 @@ -# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> - -pkgname=crane -_pkgname=go-containerregistry -pkgver=0.14.0 -pkgrel=1 -pkgdesc="Interacting with remote container images and registries." -arch=('x86_64') -url="https://github.com/google/go-containerregistry" -license=('Apache-2.0') -makedepends=('go') -source=(https://github.com/google/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('33ce5a1745c595b8cf7d9f231b7b7c8fea22a5f71c386fc8325d0e0c18bf686d') -b2sums=('e7cb35615796d876f93733f189d5aaea560a3e89ea401f39ce12bf9b0e0660f298133d3587c44d560b705601c024e47c50c069a5dbda62622c0aa8f5c18f0ddf') - -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 -ldflags=-linkmode=external -mod=readonly -modcacherw" - - go build ./cmd/crane - go build ./cmd/gcrane - - cd cmd/krane - go build . -} - -package() { - cd ${_pkgname}-${pkgver} - install -Dm755 -t "${pkgdir}/usr/bin" \ - crane gcrane cmd/krane/krane - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim: ts=2 sw=2 et: Copied: crane/repos/community-x86_64/PKGBUILD (from rev 1459317, crane/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-07 13:03:23 UTC (rev 1459318) @@ -0,0 +1,39 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> + +pkgname=crane +_pkgname=go-containerregistry +pkgver=0.15.1 +pkgrel=1 +pkgdesc="Interacting with remote container images and registries." +arch=('x86_64') +url="https://github.com/google/go-containerregistry" +license=('Apache-2.0') +makedepends=('go') +source=(https://github.com/google/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('003f1ec639ed7347101ba95fc2b1aa36e51fb7a286488110cb7e1d8dd4a851a9') +b2sums=('510ec0034b04dc1c6b4937fb558d01525e012c8e2f81da4ecbcd0b51964c7e84367656710eea0f8976ae77e3fa7fd99408ac533f60f5432b475951510dd11e8d') + +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 -ldflags=-linkmode=external -mod=readonly -modcacherw" + + go build ./cmd/crane + go build ./cmd/gcrane + + cd cmd/krane + go build . +} + +package() { + cd ${_pkgname}-${pkgver} + install -Dm755 -t "${pkgdir}/usr/bin" \ + crane gcrane cmd/krane/krane + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim: ts=2 sw=2 et: