Date: Tuesday, August 23, 2022 @ 18:39:11 Author: foxboron Revision: 1275823
archrelease: copy trunk to community-x86_64 Added: docker-scan/repos/community-x86_64/PKGBUILD (from rev 1275822, docker-scan/trunk/PKGBUILD) Deleted: docker-scan/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-23 18:39:09 UTC (rev 1275822) +++ PKGBUILD 2022-08-23 18:39:11 UTC (rev 1275823) @@ -1,42 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -pkgname=docker-scan -pkgver=0.17.0 -pkgrel=2 -pkgdesc="Docker Scan is a Command Line Interface to run vulnerability detection on your Dockerfiles and Docker images" -arch=('x86_64') -url="https://github.com/docker/scan-cli-plugin" -license=("Apache") -makedepends=('go' 'git') -_commit=061fe0a0c54762676295afce4ae5e31efd85b99b #refs/tags/v0.17.0 -source=("git+https://github.com/docker/scan-cli-plugin.git#commit=${_commit}") -sha512sums=('SKIP') - -pkgver() { - cd "scan-cli-plugin" - git describe --tags | sed 's/^v//;s/-/+/g' -} - -build() { - cd "scan-cli-plugin" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -modcacherw" - make -f builder.Makefile build -} - -check(){ - cd "scan-cli-plugin" - # mkdir cli-plugins - # cp bin/docker-scan_linux_amd64 cli-plugins/docker-scan - # export DOCKER_CONFIG="$(PWD)" - # go test ./... -} - -package() { - cd "scan-cli-plugin" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - install -Dm755 bin/docker-scan_linux_amd64 "$pkgdir"/usr/lib/docker/cli-plugins/docker-scan -} Copied: docker-scan/repos/community-x86_64/PKGBUILD (from rev 1275822, docker-scan/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-23 18:39:11 UTC (rev 1275823) @@ -0,0 +1,42 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> + +pkgname=docker-scan +pkgver=0.18.0 +pkgrel=1 +pkgdesc="Docker Scan is a Command Line Interface to run vulnerability detection on your Dockerfiles and Docker images" +arch=('x86_64') +url="https://github.com/docker/scan-cli-plugin" +license=("Apache") +makedepends=('go' 'git') +_commit=c3104a7315462fc05df1c2231181f7daadab5f7e #refs/tags/v0.18.0 +source=("git+https://github.com/docker/scan-cli-plugin.git#commit=${_commit}") +sha512sums=('SKIP') + +pkgver() { + cd "scan-cli-plugin" + git describe --tags | sed 's/^v//;s/-/+/g' +} + +build() { + cd "scan-cli-plugin" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -modcacherw" + make -f builder.Makefile build +} + +check(){ + cd "scan-cli-plugin" + # mkdir cli-plugins + # cp bin/docker-scan_linux_amd64 cli-plugins/docker-scan + # export DOCKER_CONFIG="$(PWD)" + # go test ./... +} + +package() { + cd "scan-cli-plugin" + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm755 bin/docker-scan_linux_amd64 "$pkgdir"/usr/lib/docker/cli-plugins/docker-scan +}