[arch-commits] Commit in buildkit/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Aug 23 02:50:42 UTC 2022
Date: Tuesday, August 23, 2022 @ 02:50:41
Author: grawlinson
Revision: 1274903
archrelease: copy trunk to community-x86_64
Added:
buildkit/repos/community-x86_64/PKGBUILD
(from rev 1274902, buildkit/trunk/PKGBUILD)
Deleted:
buildkit/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 146 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-23 02:49:57 UTC (rev 1274902)
+++ PKGBUILD 2022-08-23 02:50:41 UTC (rev 1274903)
@@ -1,73 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Kenneth Endfinger <kaendfinger at gmail.com>
-
-pkgname=buildkit
-pkgver=0.10.3
-pkgrel=1
-pkgdesc='A toolkit for converting source code to build artifacts in a repeatable manner'
-arch=('x86_64')
-url='https://github.com/moby/buildkit'
-license=('Apache')
-depends=('runc' 'containerd')
-makedepends=('git' 'go')
-options=('!lto')
-_commit='c8d25d9a103b70dc300a4fd55e7e576472284e31'
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- # ignore docker tags
- git describe --tags --exclude 'dockerfile*' | sed 's/^v//'
-}
-
-prepare() {
- cd "$pkgname"
-
- # fix paths in systemd unit files
- sed -i 's:/usr/local:/usr:' \
- examples/systemd/{system,user}/*.service
-
- # create directory for build output
- mkdir build
-
- # download dependencies
- go mod download
-}
-
-build() {
- cd "$pkgname"
-
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
-
- local package='github.com/moby/buildkit'
-
- go build -v \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-linkmode external -extldflags ${LDFLAGS} \
- -X ${package}/version.Version=$pkgver \
- -X ${package}/version.Revision=$_commit" \
- -o build \
- ./cmd/...
-}
-
-package() {
- cd "$pkgname"
-
- # binaries
- install -vDm755 -t "$pkgdir/usr/bin" build/*
-
- # documentation
- install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
- cp -vrt "$pkgdir/usr/share/doc/$pkgname" docs
-
- # systemd integration
- install -vDm644 -t "$pkgdir/usr/lib/systemd/system" examples/systemd/system/*
- install -vDm644 -t "$pkgdir/usr/lib/systemd/user" examples/systemd/user/*
-}
Copied: buildkit/repos/community-x86_64/PKGBUILD (from rev 1274902, buildkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-23 02:50:41 UTC (rev 1274903)
@@ -0,0 +1,73 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Kenneth Endfinger <kaendfinger at gmail.com>
+
+pkgname=buildkit
+pkgver=0.10.4
+pkgrel=1
+pkgdesc='A toolkit for converting source code to build artifacts in a repeatable manner'
+arch=('x86_64')
+url='https://github.com/moby/buildkit'
+license=('Apache')
+depends=('runc' 'containerd')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='a2ba6869363812a210fcc3ded6926757ab780b5f'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ # ignore docker tags
+ git describe --tags --exclude 'dockerfile*' | sed 's/^v//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # fix paths in systemd unit files
+ sed -i 's:/usr/local:/usr:' \
+ examples/systemd/{system,user}/*.service
+
+ # create directory for build output
+ mkdir build
+
+ # download dependencies
+ go mod download
+}
+
+build() {
+ cd "$pkgname"
+
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+
+ local package='github.com/moby/buildkit'
+
+ go build -v \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-linkmode external -extldflags ${LDFLAGS} \
+ -X ${package}/version.Version=$pkgver \
+ -X ${package}/version.Revision=$_commit" \
+ -o build \
+ ./cmd/...
+}
+
+package() {
+ cd "$pkgname"
+
+ # binaries
+ install -vDm755 -t "$pkgdir/usr/bin" build/*
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+ cp -vrt "$pkgdir/usr/share/doc/$pkgname" docs
+
+ # systemd integration
+ install -vDm644 -t "$pkgdir/usr/lib/systemd/system" examples/systemd/system/*
+ install -vDm644 -t "$pkgdir/usr/lib/systemd/user" examples/systemd/user/*
+}
More information about the arch-commits
mailing list