Date: Friday, June 17, 2022 @ 00:28:20 Author: kpcyrd Revision: 1238277
archrelease: copy trunk to community-x86_64 Added: apko/repos/community-x86_64/PKGBUILD (from rev 1238276, apko/trunk/PKGBUILD) Deleted: apko/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-17 00:28:12 UTC (rev 1238276) +++ PKGBUILD 2022-06-17 00:28:20 UTC (rev 1238277) @@ -1,40 +0,0 @@ -# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> - -pkgname=apko -pkgver=0.3.3 -pkgrel=1 -pkgdesc="declarative APK-based container building tool with support for Sigstore signatures" -url="https://github.com/chainguard-dev/apko" -arch=('x86_64') -license=('Apache') -depends=('apk-tools' 'alpine-keyring') -makedepends=('go') -source=("https://github.com/chainguard-dev/apko/archive/v${pkgver}/apko-${pkgver}.tar.gz") -b2sums=('16db20302fca6a6cbdbfbbd2b996385ab9e4b996f84bcdd82e9d5f28cfb5337ca8e647be7eaff5f08f3be038e1cd346c31b7ad533c36ad50991261059ae83f87') - -build() { - cd "${pkgname}-${pkgver}" - mkdir build - CGO_LDFLAGS="${LDFLAGS}" \ - GOFLAGS="-trimpath -buildmode=pie -mod=readonly" \ - go build -o build/ -tags -tags=pivkey,pkcs11key ./... - - for i in bash fish zsh; do - build/apko completion ${i} > ./apko.${i} - done -} - -check() { - cd "${pkgname}-${pkgver}" - go test ./... -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dm755 build/apko "${pkgdir}"/usr/bin/apko - install -Dm644 apko.bash "${pkgdir}"/usr/share/bash-completion/completions/apko - install -Dm644 apko.fish "${pkgdir}"/usr/share/fish/completions/apko.fish - install -Dm644 apko.zsh "${pkgdir}"/usr/share/zsh/site-functions/_apko -} - -# vim: ts=2 sw=2 et: Copied: apko/repos/community-x86_64/PKGBUILD (from rev 1238276, apko/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-17 00:28:20 UTC (rev 1238277) @@ -0,0 +1,40 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> + +pkgname=apko +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Declarative APK-based container building tool with support for sigstore signatures" +url="https://github.com/chainguard-dev/apko" +arch=('x86_64') +license=('Apache') +depends=('apk-tools' 'alpine-keyring') +makedepends=('go') +source=("https://github.com/chainguard-dev/apko/archive/v${pkgver}/apko-${pkgver}.tar.gz") +b2sums=('d4cca56cac6c5b1dfc3a78a1e9aad568383fb8ed21e2ee1f2e67637e39fc4c1a023fac6f957c8361d6793f89b067f10542a3e93b3a161bc650ef92dcbaeb98cb') + +build() { + cd "${pkgname}-${pkgver}" + mkdir build + CGO_LDFLAGS="${LDFLAGS}" \ + GOFLAGS="-trimpath -buildmode=pie -mod=readonly" \ + go build -o build/ -tags -tags=pivkey,pkcs11key ./... + + for i in bash fish zsh; do + build/apko completion ${i} > ./apko.${i} + done +} + +check() { + cd "${pkgname}-${pkgver}" + go test ./... +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm755 build/apko "${pkgdir}"/usr/bin/apko + install -Dm644 apko.bash "${pkgdir}"/usr/share/bash-completion/completions/apko + install -Dm644 apko.fish "${pkgdir}"/usr/share/fish/completions/apko.fish + install -Dm644 apko.zsh "${pkgdir}"/usr/share/zsh/site-functions/_apko +} + +# vim: ts=2 sw=2 et: