Date: Tuesday, May 2, 2023 @ 18:54:17
Author: foxboron
Revision: 1455896
archrelease: copy trunk to community-x86_64
Added:
docker-scan/repos/community-x86_64/PKGBUILD
(from rev 1455895, docker-scan/trunk/PKGBUILD)
Deleted:
docker-scan/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-02 18:54:10 UTC (rev 1455895)
+++ PKGBUILD 2023-05-02 18:54:17 UTC (rev 1455896)
@@ -1,42 +0,0 @@
-# Maintainer: Morten Linderud <[email protected]>
-
-pkgname=docker-scan
-pkgver=0.25.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=284fb0866164b15a39c712d44ffd9c60542a6ef9 #refs/tags/v0.25.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 1455895,
docker-scan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-02 18:54:17 UTC (rev 1455896)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud <[email protected]>
+
+pkgname=docker-scan
+pkgver=0.26.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=c7fa31d4c4cc150f5ac569a6786b0b616cf677e1 #refs/tags/v0.26.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
+}