[arch-commits] Commit in syft/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sun Jun 26 02:16:35 UTC 2022
Date: Sunday, June 26, 2022 @ 02:16:34
Author: shibumi
Revision: 1239481
archrelease: copy trunk to community-x86_64
Added:
syft/repos/community-x86_64/PKGBUILD
(from rev 1239480, syft/trunk/PKGBUILD)
Deleted:
syft/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-26 02:16:24 UTC (rev 1239480)
+++ PKGBUILD 2022-06-26 02:16:34 UTC (rev 1239481)
@@ -1,36 +0,0 @@
-# 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}"
-}
-
Copied: syft/repos/community-x86_64/PKGBUILD (from rev 1239480, syft/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-26 02:16:34 UTC (rev 1239481)
@@ -0,0 +1,36 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=syft
+pkgver=0.49.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=('e48c357cb72678685f957d796b6d565836df4bad5ff6a1177d756ee6cc88e60dabae1513b0dacb1c1cbdd99c9641bd0662509098804e4bfc1183d1e1ee85a8d9')
+b2sums=('15f4da31fd49de7fa9996bfaebc34e9b63cce646accac0f324b6ff79a1a965f673bf1594d7563ff36ccc975a6ab0b074fae2498701b07d7453c36a886aea693f')
+
+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