[arch-commits] Commit in syft/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sun Apr 3 23:11:07 UTC 2022
Date: Sunday, April 3, 2022 @ 23:11:07
Author: shibumi
Revision: 1181126
archrelease: copy trunk to community-x86_64
Added:
syft/repos/community-x86_64/PKGBUILD
(from rev 1181125, syft/trunk/PKGBUILD)
Deleted:
syft/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-03 23:10:58 UTC (rev 1181125)
+++ PKGBUILD 2022-04-03 23:11:07 UTC (rev 1181126)
@@ -1,36 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=syft
-pkgver=0.38.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=('018aa4c0d4fe21f574997d289e2cb53ff036bdbeaa1018df008a3baa0a21892c28b9f4a3a313ab3722f5d12449046908320b933cd5d07181bd401b5d5502223d')
-b2sums=('c5981e836c61a21df146519ad635f4112e7e94b100fbe8af9463f063a4b92076f0e4845f3a9e941e8583b3566b67b76b49998e8b38655cc7e10bd5cdc478b92d')
-
-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 1181125, syft/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-03 23:11:07 UTC (rev 1181126)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=syft
+pkgver=0.43.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=('6f6f71ec77df0049b8f674248bbfe1de8f1ac2ffb90b8bcb7d8db7d4e4f9a6ba11fa1415f10af16253891b20eefc65fdf9b046b29081aae5ecf4b5794b912200')
+b2sums=('8aedf2e883263187eb082e67bfbcb8a33912aec95e7340474058c72736b288ab9303822f3f1649c951d18d2cf8fb8e4f454b37900210755bc67bf09539b45b59')
+
+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}"
+}
+
More information about the arch-commits
mailing list