Date: Saturday, November 12, 2022 @ 14:19:53
Author: shibumi
Revision: 1347021
archrelease: copy trunk to community-x86_64
Added:
syft/repos/community-x86_64/PKGBUILD
(from rev 1347020, syft/trunk/PKGBUILD)
Deleted:
syft/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-12 14:19:45 UTC (rev 1347020)
+++ PKGBUILD 2022-11-12 14:19:53 UTC (rev 1347021)
@@ -1,36 +0,0 @@
-# Maintainer: Christian Rebischke <[email protected]>
-
-pkgname=syft
-pkgver=0.55.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=('7f4ea3e695f48104c3a5b0864460e7270c4e268282f230f86283b02a68e9e27eb1b00b9a7cddc914a50bfdd1e45a58cb41db80ac3cbbd65891a47a5b32e0473a')
-b2sums=('56333471f01d831aed0a74190b8e86438308eb5f338f9fefb1d77056d975ab2b51234a46d9cb8a7a58eeb5cf5ff4599a87695ef25cac9c1090a180e61f6065fb')
-
-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 1347020,
syft/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-12 14:19:53 UTC (rev 1347021)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <[email protected]>
+
+pkgname=syft
+pkgver=0.60.3
+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=('060ad07fd356b7789a6290c4a4295f7a56a65fd7f1c3aad87ce332ef73a328028201a7b5b9808d208d2d828ef7b4d62d6a2dbeb515eaf876a7849cd8d09d2c53')
+b2sums=('b2e61d8fef1eb6cca1f94b1a3a3f934b04a0ae7e4c62f6496a5db34dfefeb4acc04eea3c9ae7009685edff32edf203d45d21da986717ab160391f212e79adca2')
+
+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}"
+}
+