Date: Wednesday, December 28, 2022 @ 05:32:50
Author: shibumi
Revision: 1369814
archrelease: copy trunk to community-x86_64
Added:
syft/repos/community-x86_64/PKGBUILD
(from rev 1369813, syft/trunk/PKGBUILD)
Deleted:
syft/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-28 05:32:42 UTC (rev 1369813)
+++ PKGBUILD 2022-12-28 05:32:50 UTC (rev 1369814)
@@ -1,36 +0,0 @@
-# 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}"
-}
-
Copied: syft/repos/community-x86_64/PKGBUILD (from rev 1369813,
syft/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-28 05:32:50 UTC (rev 1369814)
@@ -0,0 +1,36 @@
+# 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}"
+}
+