Date: Sunday, March 19, 2023 @ 13:31:17
Author: shibumi
Revision: 1424282
archrelease: copy trunk to community-x86_64
Added:
syft/repos/community-x86_64/PKGBUILD
(from rev 1424281, syft/trunk/PKGBUILD)
Deleted:
syft/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-19 13:31:08 UTC (rev 1424281)
+++ PKGBUILD 2023-03-19 13:31:17 UTC (rev 1424282)
@@ -1,36 +0,0 @@
-# Maintainer: Christian Rebischke <[email protected]>
-
-pkgname=syft
-pkgver=0.64.0
-pkgrel=1
-pkgdesc="CLI tool and library for generating a Software Bill of Materials from
container images and filesystems"
-arch=('x86_64')
-url="https://github.com/anchore/syft"
-license=('Apache')
-makedepends=('go' 'git')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/anchore/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('d223c54467dadcae98828499da008e1119de585a8b54f20fe0fc90a85bbbf4dbaebdf4a38016c97108a16699151d1fb204f6eba3a3c3339aceb000983f6de95b')
-b2sums=('deb3e65468f6bfcc0b18dcea56c077399430be4e573f8f4e21b7c2e123981758461200b0a6db176fc073ced3e96d3cb721f53762faf6a3d3a4b44c08bb013a43')
-
-build(){
- cd "${pkgname}-${pkgver}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath
-mod=readonly -modcacherw"
- mkdir build
- go build -o build/ ./...
-}
-
-# disabled, needs docker
-# check() {
-# cd "${pkgname}-${pkgver}"
-# go test -v ./...
-# }
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 build/syft "${pkgdir}/usr/bin/${pkgname}"
-}
-
Copied: syft/repos/community-x86_64/PKGBUILD (from rev 1424281,
syft/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-19 13:31:17 UTC (rev 1424282)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <[email protected]>
+
+pkgname=syft
+pkgver=0.75.0
+pkgrel=1
+pkgdesc="CLI tool and library for generating a Software Bill of Materials from
container images and filesystems"
+arch=('x86_64')
+url="https://github.com/anchore/syft"
+license=('Apache')
+makedepends=('go' 'git')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/anchore/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('4b8f7cc2823ace1fb2a57a5a989690967ac2b0caf2358dd61a85eca418050ff3fb8ea0409fa694754e595f85168f7f2b192fd407f651f48e05932a73b18fa379')
+b2sums=('4513fb5ce8c9b432d9042e31c13032428db7ae2b7637f25d391c572094706a1bcfa7dc971a96a8630b3d226504000c79219c0cbc6e1372558c6d08c3ff41dfa4')
+
+build(){
+ cd "${pkgname}-${pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath
-mod=readonly -modcacherw"
+ mkdir build
+ go build -o build/ ./...
+}
+
+# disabled, needs docker
+# check() {
+# cd "${pkgname}-${pkgver}"
+# go test -v ./...
+# }
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 build/syft "${pkgdir}/usr/bin/${pkgname}"
+}
+