[arch-commits] Commit in syft/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sun May 15 13:03:07 UTC 2022
Date: Sunday, May 15, 2022 @ 13:03:06
Author: shibumi
Revision: 1207397
archrelease: copy trunk to community-x86_64
Added:
syft/repos/community-x86_64/PKGBUILD
(from rev 1207396, syft/trunk/PKGBUILD)
Deleted:
syft/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 13:02:57 UTC (rev 1207396)
+++ PKGBUILD 2022-05-15 13:03:06 UTC (rev 1207397)
@@ -1,36 +0,0 @@
-# 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}"
-}
-
Copied: syft/repos/community-x86_64/PKGBUILD (from rev 1207396, syft/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 13:03:06 UTC (rev 1207397)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=syft
+pkgver=0.46.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=('34404cb805fa16cdd295fd0a60a09af8a2f432d4a2d95279bf76636976f4542ab0c032a2fb1d52630392969f9ed3e53573a8f718db55c78451fdeed0e6aabff0')
+b2sums=('4e430b436fe56a33555b5e233719b732ab1c7fd9ad195ca00045e9d4f15b69621f3c29ba1339871f1560b23c1304d325cdca975fea8591d07a66ebd01e234bf9')
+
+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